@media only screen and (min-width: 780px) {
  .site-header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

  }

  .site-header {
    box-shadow: none;
  }
}

.site-header {
  box-shadow: none;
  z-index: 99;
}

img.swiper-slide-image {
  padding: 20px;
  height: auto;
  width: 192px;
}



img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 0.3s ease-out;
}

img.loading-lowres {
  filter: blur(10px);
}


/*Contact Form Style */



.mrifat-contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
}

.mrifat-form-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
    color: #333;
}

.mrifat-form-description {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
}

.mrifat-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.mrifat-form-group {
    flex: 1;
    margin-bottom: 20px;
}

.mrifat-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.mrifat-form-group input,
.mrifat-form-group select,
.mrifat-form-group textarea {
    width: 100%;
    padding: 0 15px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.mrifat-form-group input:focus,
.mrifat-form-group select:focus,
.mrifat-form-group textarea:focus {
    outline: none;
    border-color: #007cba;
}

.mrifat-radio-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.mrifat-radio-group {
    display: flex;
    gap: 20px;
}

.mrifat-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.mrifat-radio-option input[type="radio"] {
    width: auto;
    margin: 0;
}

.mrifat-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.mrifat-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
}

.mrifat-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.mrifat-submit-button {
    background: #007cba;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 200px;
}

.mrifat-submit-button:hover {
    background: #005a87;
}

.mrifat-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.required {
    color: #e74c3c;
}

.mrifat-form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 600;
}

.mrifat-form-message.mrifat-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mrifat-success-message {
    text-align: center;
    padding: 40px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    color: #155724;
}

.mrifat-success-message h3 {
    margin-top: 0;
    color: #155724;
}

@media (max-width: 768px) {
    .mrifat-form-row {
        flex-direction: column;
        gap: 0;
    }

    .mrifat-contact-form {
        padding: 20px;
    }

    .mrifat-radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/*Project Filter Style */
.portfolio-filter-container {
    width: 100%;
}

.portfolio-filters {
    margin-bottom: 30px;
}

.filter-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
}

.filter-item i {
    font-size: 14px;
    color: #f00;
}

.portfolio-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.portfolio-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-image {
    flex-shrink: 0;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-weight: 700;
    line-height: 1.3;
}

.project-description {
    line-height: 1.6;
    flex: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tech-tag {
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.project-meta-container {
    margin: 15px 0;
}

.project-meta {
    font-size: 14px;
    line-height: 1.5;
}

.project-result {
    font-weight: 600;
    margin-top: 10px;
}

.project-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
}

.view-live-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-live-btn .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.view-live-btn .elementor-button-text {
    flex-grow: 0;
}

/* Size variations following Elementor's pattern */
.view-live-btn.elementor-size-xs {
    font-size: 12px;
    padding: 10px 20px;
}

.view-live-btn.elementor-size-sm {
    font-size: 13px;
    padding: 12px 24px;
}

.view-live-btn.elementor-size-md {
    font-size: 14px;
    padding: 15px 30px;
}

.view-live-btn.elementor-size-lg {
    font-size: 16px;
    padding: 18px 36px;
}

.view-live-btn.elementor-size-xl {
    font-size: 18px;
    padding: 20px 40px;
}

/* Button type styles following Elementor's pattern */
.portfolio-button-info .view-live-btn {
    background-color: #5bc0de;
    color: #fff;
}

.portfolio-button-success .view-live-btn {
    background-color: #5cb85c;
    color: #fff;
}

.portfolio-button-warning .view-live-btn {
    background-color: #f0ad4e;
    color: #fff;
}

.portfolio-button-danger .view-live-btn {
    background-color: #d9534f;
    color: #fff;
}


.action-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.portfolio-item {
    animation: fadeIn 0.5s ease;
}

.portfolio-item.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .portfolio-filters {
        justify-content: center;
    }

    .filter-item {
        margin: 5px;
    }
}


/**
 * About Me Widget Styles
 * Designed to work seamlessly with Astra Theme
 */

.about-me {
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* Astra theme compatibility - inherit font family */
.about-me {
    font-family: inherit;
}

.about-me-content {
    width: 100%;
}

.about-me-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.about-me-logo {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.about-me-logo-image {
    width: 100%;
    height: 100%;
}

.about-me-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
}

.about-me-description {
    margin-bottom: 1.5rem;
}

.about-me-social-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.375rem;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    background-color: #f3f4f6;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.social-icon {
    font-size: 1.1rem;
}

.about-me-availability {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid #667eea;
}

.availability-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
    margin-top: 0;
}

.availability-text {
    color: #667eea;
    font-weight: 600;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-me {
        padding: 1rem;
    }
    
    .about-me-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .about-me-name {
        font-size: 1.1rem;
    }
    
    .about-me-social-links {
        justify-content: center;
        width: 100%;
    }
}

/* Astra Theme Sidebar Compatibility */
.widget.widget_about_me_widget {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.widget.widget_about_me_widget .about-me {
    margin-bottom: 0;
}



/* WhatApp Button Styles */

.mrifat-whatsapp-button {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
    transition: all 0.3s ease;
}

.mrifat-whatsapp-bottom-left {
    left: 20px;
}

.mrifat-whatsapp-bottom-right {
    right: 20px;
}

.mrifat-whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.mrifat-whatsapp-button a:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .mrifat-whatsapp-button {
        bottom: 15px;
    }

    .mrifat-whatsapp-bottom-left {
        left: 15px;
    }

    .mrifat-whatsapp-bottom-right {
        right: 15px;
    }

    .mrifat-whatsapp-button a {
        width: 50px;
        height: 50px;
    }
}
