/*================================================
Enhanced Responsive Web App CSS
Modern design patterns with CSS variables and improved responsiveness
==================================================*/

/* CSS Variables for consistent theming */
:root {
    --primary-color: #F2AB3C;
    --secondary-color: #061738;
    --accent-color: #ffab6b;
    --text-primary: #333;
    --text-secondary: #666;
    --background-light: #fff;
    --background-dark: #f8f9fa;
    --border-color: #ddd;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Poppins', sans-serif;
    --container-padding: 1rem;
    --section-spacing: 4rem;
}

/* Enhanced responsive design */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Improved accordion styling */
.accordion-button {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-weight: 600;
    border-radius: var(--border-radius);
    box-shadow: none;
    transition: var(--transition);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: left;
}

.accordion-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.accordion-button:hover::before {
    opacity: 0.1;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(242, 171, 60, 0.25);
    outline: none;
}

.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    background-color: var(--background-light);
    transition: var(--transition);
    overflow: hidden;
}

.accordion-item.active {
    background-color: var(--background-light);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.accordion-body {
    padding: 1.5rem;
    background: var(--background-light);
}

/* Enhanced animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.fade-in.animate-in {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.slide-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition);
}

.slide-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition);
}

.slide-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Notification system */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 500;
    z-index: 9999;
    transform: translateX(100%);
    transition: var(--transition);
    max-width: 300px;
    box-shadow: var(--shadow-medium);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.notification-error {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
}

.notification-info {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
}

.notification-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

/* Enhanced responsive utilities */
.newcoed {
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.newcoed:hover {
    box-shadow: var(--shadow-light);
}

/* Improved typography */
.tercs {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.ktew {
    line-height: 1.6;
    font-size: 1rem;
    text-align: left;
    font-weight: 400;
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* Enhanced form styling */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    font-family: var(--font-family);
    background: var(--background-light);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(242, 171, 60, 0.25);
    outline: none;
}

.form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.success {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Enhanced button styling */
.btn-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: var(--border-radius);

    color: white;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
    text-decoration: none;
}

.btn-custom:active {
    transform: translateY(0);
}

/* Enhanced card styling */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    overflow: hidden;
    background: var(--background-light);
}

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

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Enhanced navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    position: relative;
    transition: var(--transition);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

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

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

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

/* Enhanced mobile menu */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--background-light);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-medium);
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid var(--border-color);
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(242, 171, 60, 0.25);
    }
}

/* Enhanced accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

/* Enhanced loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Enhanced parallax effects */
.parallax {
    will-change: transform;
}

/* Enhanced lazy loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* Enhanced scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Enhanced selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Enhanced print styles */
@media print {

    .navbar,
    .footer,
    .notification,
    .top-btn,
    .btn-custom {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }

    .accordion-item {
        break-inside: avoid;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    :root {
        --container-padding: 0.75rem;
        --section-spacing: 2rem;
    }

    .tercs {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .ktew {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .accordion-body {
        padding: 1rem;
    }

    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .card-body {
        padding: 1rem;
    }

    .btn-custom {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 0.5rem;
        --section-spacing: 1.5rem;
    }

    .tercs {
        font-size: 1.1rem;
    }

    .ktew {
        font-size: 0.85rem;
    }

    .accordion-button {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .accordion-body {
        padding: 0.75rem;
    }

    .card-body {
        padding: 0.75rem;
    }

    .btn-custom {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Enhanced tablet responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .tercs {
        font-size: 1.35rem;
    }

    .ktew {
        font-size: 0.95rem;
    }

    .accordion-button {
        padding: 1.25rem;
    }

    .accordion-body {
        padding: 1.25rem;
    }
}

/* Enhanced large screen responsiveness */
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
    }

    .tercs {
        font-size: 1.6rem;
    }

    .ktew {
        font-size: 1.05rem;
    }
}

/* Enhanced ultra-wide screen responsiveness */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .tercs {
        font-size: 1.75rem;
    }

    .ktew {
        font-size: 1.1rem;
    }
}

/* Legacy styles for compatibility */
.farqsw {
    background: transparent !important;
    color: var(--primary-color) !important;
    text-align: left !important;
    padding: 0 !important;
}

.a1 {
    color: #fff;
}

.purchase12 {
    margin-top: 42px;
}

/* Enhanced mobile styles for existing classes */
@media (min-width: 320px) and (max-width: 480px) {

    .swiper-container,
    .swiper-wrapper,
    .swiper-slide {
        width: 100%;
    }

    body {
        max-width: 100vw;
        position: relative;
    }

    html,
    body {
        overflow-x: hidden;
    }

    .yttr {
        font-size: 35px !important;
    }

    .yerevsd {
        background-repeat: no-repeat !important;
        background-size: cover !important;
        padding: 30px !important;
    }

    .drgrrr {
        font-size: 25px !important;
        line-height: 33px !important;
    }

    .testim {
        font-size: 26px !important;
        line-height: 32px !important;
    }

    .rffh {
        padding: 20px 0 !important;
    }

    .scroll-box {
        height: 255px !important;
    }

    .tyui {
        font-size: 25px !important;
        font-weight: 500 !important;
        line-height: 32px !important;
    }

    .bgye {
        padding-bottom: 30px !important;
        margin-left: 0px !important;
    }

    .yrce {
        font-size: 25px !important;
        line-height: 33px !important;
    }

    .image-container {
        position: inherit !important;
        width: auto !important;
    }

    .section-title h2 {
        font-size: 14px !important;
        line-height: 32px !important;
    }

    .icon-circle {
        margin-left: unset !important;
    }

    .mockup-img {
        height: auto !important;
    }

    .feature-card {
        height: auto !important;
        margin-bottom: 20px;
    }

    .service-info p {
        text-align: left !important;
        line-height: 38px !important;
    }

    .payment-card {
        margin-bottom: 20px;
    }
}

/* Enhanced utility classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.shadow-custom {
    box-shadow: var(--shadow-medium);
}

.border-custom {
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

.transition-custom {
    transition: var(--transition);
}

/* Enhanced hover effects */
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

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

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(242, 171, 60, 0.3);
}

/* Enhanced focus effects */
.focus-ring:focus {
    box-shadow: 0 0 0 0.2rem rgba(242, 171, 60, 0.25);
    outline: none;
}

/* Enhanced responsive grid */
.responsive-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

/* Enhanced responsive flexbox */
.responsive-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.responsive-flex>* {
    flex: 1 1 300px;
}

@media (max-width: 768px) {
    .responsive-flex>* {
        flex: 1 1 100%;
    }
}

/* Enhanced ultra-small screen responsiveness */
@media (max-width: 319px) {
    :root {
        --container-padding: 0.25rem;
        --section-spacing: 1rem;
        --border-radius: 8px;
    }

    body {
        font-size: 14px;
        line-height: 1.4;
    }

    /* Fix for sections with large padding */
    .yerevsd,
    section[style*="padding:100px"],
    section[style*="padding: 100px"],
    .p-100,
    .py-100,
    .pt-100,
    .pb-100 {
        padding: 15px !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    /* Fix for any section with excessive padding */
    section[style*="padding:"] {
        padding: 15px !important;
    }

    /* Specific fixes for home1 sections */
    .home1.client,
    .home1.banner,
    .home1.feature,
    .home1.about,
    .home1.team,
    .home1.mobile,
    .home1.video,
    .home1.brand,
    .home1.blog {
        padding: 15px 0 !important;
    }

    /* Fix for any element with large padding values */
    [style*="padding:100px"],
    [style*="padding: 100px"],
    [style*="padding:80px"],
    [style*="padding: 80px"],
    [style*="padding:60px"],
    [style*="padding: 60px"],
    [style*="padding:50px"],
    [style*="padding: 50px"] {
        padding: 15px !important;
    }

    /* Typography adjustments */
    .tercs {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    .ktew {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-top: 0.5rem;
    }

    /* Navigation adjustments */
    .navbar {
        padding: 0.25rem 0;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0.25rem !important;
        font-size: 0.9rem;
    }

    /* Accordion adjustments */
    .accordion-button {
        padding: 0.5rem;
        font-size: 0.8rem;
        min-height: 44px;
    }

    .accordion-body {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    /* Card adjustments */
    .card {
        margin-bottom: 0.5rem;
    }

    .card-body {
        padding: 0.5rem;
    }

    .card-header {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    /* Button adjustments */
    .btn-custom {

        font-size: 0.8rem;
        min-height: 44px;
        min-width: 44px;
    }

    /* Form adjustments */
    .form-control {
        padding: 0.5rem;
        font-size: 0.9rem;
        min-height: 44px;
    }

    /* Container adjustments */
    .container {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    /* Grid adjustments */
    .responsive-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .responsive-flex>* {
        flex: 1 1 100%;
        min-width: 0;
    }

    /* Notification adjustments */
    .notification {
        right: 5px;
        left: 5px;
        padding: 0.5rem;
        font-size: 0.8rem;
        max-width: none;
    }

    /* Spacing adjustments */
    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .py-4 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .mb-5 {
        margin-bottom: 1rem !important;
    }

    .mb-4 {
        margin-bottom: 0.75rem !important;
    }

    .mt-5 {
        margin-top: 1rem !important;
    }

    /* Image adjustments */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Text adjustments */
    h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.25rem;
        line-height: 1.2;
    }

    h3 {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    h4,
    h5,
    h6 {
        font-size: 1rem;
        line-height: 1.2;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    /* Display adjustments */
    .d-none {
        display: none !important;
    }

    .d-block {
        display: block !important;
    }

    /* Flex adjustments */
    .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }

    .d-flex>* {
        width: 100%;
    }

    /* Text alignment */
    .text-center {
        text-align: center !important;
    }

    .text-left {
        text-align: left !important;
    }

    /* Specific component adjustments */
    .swiper-container,
    .swiper-wrapper,
    .swiper-slide {
        width: 100% !important;
        min-width: 0;
    }

    .scroll-box {
        height: 200px !important;
        overflow-y: auto;
    }

    .image-container {
        position: relative !important;
        width: 100% !important;
        overflow: hidden;
    }

    /* Footer adjustments */
    .footer {
        padding: 1rem 0.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* Modal adjustments */
    .modal-dialog {
        margin: 0.25rem;
        max-width: calc(100% - 0.5rem);
    }

    .modal-body {
        padding: 0.5rem;
    }

    /* Table adjustments */
    table {
        font-size: 0.8rem;
    }

    th,
    td {
        padding: 0.25rem;
    }

    /* List adjustments */
    ul,
    ol {
        padding-left: 1rem;
    }

    li {
        margin-bottom: 0.25rem;
    }

    /* Link adjustments */
    a {
        font-size: 0.9rem;
        padding: 0.25rem 0;
    }

    /* Icon adjustments */
    .fa-lg {
        font-size: 1.2em !important;
    }

    .fa-2x {
        font-size: 1.5em !important;
    }

    .fa-3x {
        font-size: 2em !important;
    }

    .fa-4x {
        font-size: 2.5em !important;
    }

    .fa-5x {
        font-size: 3em !important;
    }

    /* Utility classes for ultra-small screens */
    .xs-d-none {
        display: none !important;
    }

    .xs-d-block {
        display: block !important;
    }

    .xs-text-center {
        text-align: center !important;
    }

    .xs-text-left {
        text-align: left !important;
    }

    .xs-w-100 {
        width: 100% !important;
    }

    .xs-p-0 {
        padding: 0 !important;
    }

    .xs-m-0 {
        margin: 0 !important;
    }

    /* Enhanced touch targets for very small screens */
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    a.btn,
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    /* Improved scrolling for very small screens */
    html,
    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    /* Better tap targets */
    input[type="checkbox"],
    input[type="radio"] {
        min-width: 20px;
        min-height: 20px;
    }

    /* Improved form layout */
    .form-group {
        margin-bottom: 0.75rem;
    }

    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    /* Better spacing for lists */
    .list-group-item {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    /* Improved badge sizing */
    .badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    /* Better alert sizing */
    .alert {
        padding: 0.5rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    /* Improved progress bar */
    .progress {
        height: 0.75rem;
    }

    /* Better tooltip positioning */
    .tooltip {
        font-size: 0.8rem;
    }

    /* Improved popover sizing */
    .popover {
        max-width: 250px;
        font-size: 0.8rem;
    }

    /* Better dropdown sizing */
    .dropdown-menu {
        font-size: 0.9rem;
        min-width: 200px;
    }

    .dropdown-item {
        padding: 0.5rem 0.75rem;
    }

    /* Improved pagination */
    .pagination {
        font-size: 0.9rem;
    }

    .page-link {
        padding: 0.5rem 0.75rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Better breadcrumb */
    .breadcrumb {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .breadcrumb-item {
        padding: 0.25rem;
    }

    /* Improved carousel */
    .carousel-item {
        min-height: 200px;
    }

    .carousel-caption {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    /* Better jumbotron */
    .jumbotron {
        padding: 1rem;
    }

    .jumbotron h1 {
        font-size: 1.5rem;
    }

    .jumbotron p {
        font-size: 0.9rem;
    }

    /* Improved media objects */
    .media {
        margin-bottom: 0.5rem;
    }

    .media-body {
        padding: 0.25rem;
    }

    /* Better figure */
    .figure {
        margin-bottom: 0.5rem;
    }

    .figure-caption {
        font-size: 0.8rem;
        padding: 0.25rem;
    }

    /* Improved code blocks */
    code {
        font-size: 0.8rem;
        padding: 0.25rem;
    }

    pre {
        font-size: 0.8rem;
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }

    /* Better blockquote */
    blockquote {
        font-size: 0.9rem;
        padding: 0.5rem;
        margin: 0.5rem 0;
    }

    /* Improved definition lists */
    dl {
        margin-bottom: 0.5rem;
    }

    dt {
        font-size: 0.9rem;
        font-weight: 600;
    }

    dd {
        font-size: 0.8rem;
        margin-left: 0.5rem;
    }

    /* Better horizontal rule */
    hr {
        margin: 0.5rem 0;
    }

    /* Improved address */
    address {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    /* Better small text */
    small {
        font-size: 0.75rem;
    }

    /* Improved mark */
    mark {
        padding: 0.1rem 0.2rem;
        font-size: 0.8rem;
    }

    /* Better abbr */
    abbr[title] {
        font-size: 0.8rem;
    }

    /* Improved kbd */
    kbd {
        font-size: 0.75rem;
        padding: 0.1rem 0.2rem;
    }

    /* Better samp */
    samp {
        font-size: 0.8rem;
    }

    /* Improved var */
    var {
        font-size: 0.8rem;
    }

    /* Better time */
    time {
        font-size: 0.8rem;
    }

    /* Improved data */
    data {
        font-size: 0.8rem;
    }

    /* Better meter */
    meter {
        width: 100%;
        height: 0.75rem;
    }

    /* Improved progress */
    progress {
        width: 100%;
        height: 0.75rem;
    }

    /* Better output */
    output {
        font-size: 0.9rem;
    }

    /* Improved canvas */
    canvas {
        max-width: 100%;
        height: auto;
    }

    /* Better video */
    video {
        max-width: 100%;
        height: auto;
    }

    /* Improved audio */
    audio {
        width: 100%;
    }

    /* Better iframe */
    iframe {
        max-width: 100%;
        height: auto;
    }

    /* Improved embed */
    embed {
        max-width: 100%;
        height: auto;
    }

    /* Better object */
    object {
        max-width: 100%;
        height: auto;
    }

    /* Improved param */
    param {
        display: none;
    }

    /* Better source */
    source {
        display: none;
    }

    /* Improved track */
    track {
        display: none;
    }

    /* Better map */
    map {
        display: none;
    }

    /* Improved area */
    area {
        display: none;
    }

    /* Better svg */
    svg {
        max-width: 100%;
        height: auto;
    }

    /* Improved math */
    math {
        font-size: 0.9rem;
    }

    /* Better details */
    details {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    summary {
        font-size: 0.9rem;
        padding: 0.5rem;
        cursor: pointer;
    }

    /* Improved dialog */
    dialog {
        max-width: calc(100% - 1rem);
        margin: 0.5rem;
        padding: 0.5rem;
    }

    /* Better menu */
    menu {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    /* Improved menuitem */
    menuitem {
        font-size: 0.9rem;
        padding: 0.25rem;
    }

    /* Better command */
    command {
        display: none;
    }

    /* Improved keygen */
    keygen {
        display: none;
    }

    /* Better bgsound */
    bgsound {
        display: none;
    }

    /* Improved basefont */
    basefont {
        display: none;
    }

    /* Better center */
    center {
        text-align: center;
    }

    /* Improved font */
    font {
        font-size: inherit;
    }

    /* Better isindex */
    isindex {
        display: none;
    }

    /* Improved listing */
    listing {
        font-family: monospace;
        font-size: 0.8rem;
        white-space: pre;
    }

    /* Better plaintext */
    plaintext {
        font-family: monospace;
        font-size: 0.8rem;
        white-space: pre;
    }

    /* Improved strike */
    strike {
        text-decoration: line-through;
    }

    /* Better xmp */
    xmp {
        font-family: monospace;
        font-size: 0.8rem;
        white-space: pre;
    }

    /* Improved big */
    big {
        font-size: 1.1em;
    }

    /* Better blink */
    blink {
        animation: blink 1s infinite;
    }

    @keyframes blink {

        0%,
        50% {
            opacity: 1;
        }

        51%,
        100% {
            opacity: 0;
        }
    }

    /* Improved marquee */
    marquee {
        overflow: hidden;
        white-space: nowrap;
    }

    /* Better multicol */
    multicol {
        column-count: 1;
        column-gap: 1rem;
    }

    /* Improved nobr */
    nobr {
        white-space: nowrap;
    }

    /* Better spacer */
    spacer {
        display: inline-block;
    }

    /* Improved wbr */
    wbr {
        display: inline;
    }

    /* Better acronym */
    acronym {
        font-size: 0.8rem;
    }

    /* Improved applet */
    applet {
        display: none;
    }

    /* Better basefont */
    basefont {
        display: none;
    }

    /* Improved bgsound */
    bgsound {
        display: none;
    }

    /* Better dir */
    dir {
        list-style-type: disc;
        padding-left: 1rem;
    }

    /* Improved isindex */
    isindex {
        display: none;
    }

    /* Better listing */
    listing {
        font-family: monospace;
        font-size: 0.8rem;
        white-space: pre;
    }

    /* Improved plaintext */
    plaintext {
        font-family: monospace;
        font-size: 0.8rem;
        white-space: pre;
    }

    /* Better xmp */
    xmp {
        font-family: monospace;
        font-size: 0.8rem;
        white-space: pre;
    }
}

/* Enhanced mobile styles for existing classes - updated for ultra-small screens */
@media (min-width: 1px) and (max-width: 319px) {

    .swiper-container,
    .swiper-wrapper,
    .swiper-slide {
        width: 100% !important;
        min-width: 0;
    }

    body {
        max-width: 100vw;
        position: relative;
        font-size: 14px;
    }

    html,
    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .yttr {
        font-size: 28px !important;
        line-height: 1.2;
    }

    .yerevsd {
        background-repeat: no-repeat !important;
        background-size: cover !important;
        padding: 15px !important;
    }

    .drgrrr {
        font-size: 20px !important;
        line-height: 1.3;
    }

    .testim {
        font-size: 22px !important;
        line-height: 1.3;
    }

    .rffh {
        padding: 10px 0 !important;
    }

    .scroll-box {
        height: 200px !important;
    }

    .tyui {
        font-size: 20px !important;
        font-weight: 500 !important;
        line-height: 1.3;
    }

    .bgye {
        padding-bottom: 15px !important;
        margin-left: 0px !important;
    }

    .yrce {
        font-size: 20px !important;
        line-height: 1.3;
    }

    .image-container {
        position: relative !important;
        width: 100% !important;
        overflow: hidden;
    }

    .section-title h2 {
        font-size: 12px !important;
        line-height: 1.3;
    }

    .icon-circle {
        margin-left: 0 !important;
        width: 40px !important;
        height: 40px !important;
    }

    .mockup-img {
        height: auto !important;
        max-width: 100%;
    }

    .feature-card {
        height: auto !important;
        margin-bottom: 10px;
        padding: 10px;
    }

    .service-info p {
        text-align: left !important;
        line-height: 1.4;
        font-size: 14px;
    }

    .payment-card {
        margin-bottom: 10px;
        padding: 10px;
    }

    /* Additional ultra-small screen optimizations */
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .row {
        margin-left: -2.5px;
        margin-right: -2.5px;
    }

    .col,
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12,
    .col-sm,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-xl,
    .col-xl-1,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12 {
        padding-left: 2.5px;
        padding-right: 2.5px;
    }
}