/* Critical Inline CSS for Homepage Above-the-Fold Content */
/* This CSS is inlined to eliminate render-blocking resources */

/* Essential Reset and Base Styles */
* { box-sizing: border-box; }
html { font-size: 16px; line-height: 1.5; }
body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

/* Critical Layout Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* Critical Grid Classes */
.col-md-6, .col-lg-6, .col-sm-12, .col-xs-12, .col-sx-12 {
    padding: 0 15px;
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-6 { width: 50%; }
}

@media (min-width: 992px) {
    .col-lg-6 { width: 50%; }
}

/* Critical Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

ul {
    margin: 0 0 1rem 0;
    padding-left: 0;
    list-style: none;
}

li {
    margin-bottom: 0.5rem;
}

/* Critical Utility Classes */
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.rtlDir { direction: rtl; text-align: right; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Critical Background Colors */
.back-color-fbfbfb { background-color: #fbfbfb; }
.color-eef4f7 { background-color: #eef4f7; }
.fill-eef4f7 { fill: #eef4f7; }

/* Critical Spacing */
[style*="padding-top:20px"] { padding-top: 20px; }
[style*="margin-top:20px"] { margin-top: 20px; }

/* Critical Catalogue Components */
.av-catalogue-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.av-catalogue-item {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    position: relative;
}

.av-catalogue-item:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.av-catalogue-image {
    width: 100%;
    height: auto;
    display: block;
}

.av-catalogue-item-inner {
    padding: 1rem;
    background: white;
}

.av-catalogue-title-container {
    margin-bottom: 0.5rem;
}

.av-catalogue-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.av-catalogue-content {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Critical Text Block */
.avia_textblock {
    margin-bottom: 1rem;
}

.catalogue-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Critical SVG */
.svg-new {
    width: 100%;
    height: 50px;
    overflow: hidden;
}

svg {
    overflow: hidden;
    vertical-align: middle;
}

/* Critical Section Spacing */
.after_section_1 {
    padding: 2rem 0;
}

/* Critical Doctor Title */
.dr-title-container {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.title-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 1.5rem;
}

.title-after_title {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* Critical Images */
img {
    max-width: 100%;
    height: auto;
    border-style: none;
}

/* Critical Links */
a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Critical Lightbox Classes */
.lightbox-added {
    cursor: pointer;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}

.overlay-type-image {
    /* Image overlay type */
}

.image-overlay-inside {
    /* Overlay inner content */
}

/* Critical WordPress Classes */
.wp-image-866 {
    /* WordPress image class */
}

.avia-img-lazy-loading-866 {
    /* Lazy loading class */
}

/* Critical Responsive Adjustments */
@media (max-width: 768px) {
    .dr-title-container {
        font-size: 1.8rem;
    }
    
    .row {
        flex-direction: column;
    }
    
    .col-md-6, .col-lg-6 {
        width: 100%;
    }
}

/* Critical Print Styles */
@media print {
    .image-overlay,
    .lightbox-added {
        display: none !important;
    }
}


