/*
Theme Name: لیزر ساز
Description: قالب وردپرس برای شرکت لیزر ساز - شارژ و تعمیر تیوب های لیزری شیشه ای گاز کرنیک
Version: 8.03
Author: لیزر ساز
Text Domain: lasersaz
RTL: true
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    line-height: 1.6;
    color: var(--text-color, #333);
    background: linear-gradient(135deg, var(--background-light, #ffebee) 0%, var(--background-color, #ffffff) 100%);
    direction: rtl;
    min-height: 100vh;
}

.container {
    max-width: var(--container-width, 1400px);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, var(--header-bg-color, #dc2626) 0%, var(--header-bg-color-dark, #991b1b) 100%);
    position: var(--header-position, fixed);
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    height: 80px;
    overflow: hidden;
    opacity: var(--header-opacity, 1);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    height: 60px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}

.main-logo {
    height: 50px;
    width: auto;
    margin-left: 10px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.main-logo.logo-small {
    height: 35px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 100%;
    flex-direction: row-reverse;
}

.site-branding {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    order: 2;  /* برگشت به حالت قبل - لوگو دوم در desktop */
}

.site-branding .logo-icon {
    margin-left: 10px;
    font-size: 2rem;
    color: var(--yellow-color, #ffd700);
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}

.site-logo:hover {
    opacity: 0.9;
}

.main-logo {
    height: 50px;
    width: auto;
    margin-left: 10px;
    object-fit: contain;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.main-navigation {
    order: 1;  /* برگشت به حالت قبل - منو اول در desktop */
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: var(--header-text-color, white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--secondary-color, #ffd700);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 50px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .site-header {
        height: 60px;  /* کاهش ارتفاع هدر */
    }
    
    .site-header.scrolled {
        height: 50px;  /* کاهش بیشتر ارتفاع هنگام اسکرول */
    }
    
    .header-content {
        padding: 0.5rem 0;  /* کاهش padding */
    }
    
    /* لوگو در حالت responsive کوچک بماند */
    .main-logo {
        height: 30px !important;  /* کوچکتر کردن لوگو */
    }
    
    .main-logo.logo-small {
        height: 25px !important;  /* کوچکتر کردن لوگو هنگام اسکرول */
    }
    
    .site-name {
        font-size: 1rem !important;  /* کوچکتر کردن نام سایت */
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 1;  /* برگشت به حالت قبل - منو اول */
    }
    
    .site-branding {
        order: 2;  /* برگشت به حالت قبل - لوگو دوم */
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;  /* کوچکتر کردن عرض منو */
        max-width: 280px;  /* کاهش حداکثر عرض */
        height: 100vh;
        background: var(--header-bg-color, #dc2626);
        z-index: 1000;
        transition: right 0.3s ease;
        padding: 70px 15px 20px;  /* کاهش padding بالا */
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul,
    .main-navigation .nav-menu {
        display: flex !important;
        flex-direction: column-reverse !important;  /* برعکس کردن ترتیب گزینه‌ها */
        gap: 0 !important;
        width: 100% !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        display: block;
        padding: 20px 25px;
        color: white;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 500;
        border-bottom: none;
        transition: background-color 0.3s ease;
    }
    
    .main-navigation a:hover {
        background-color: rgba(255,255,255,0.1);
        padding-right: 10px;
    }
    
    /* Overlay for mobile menu */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .main-navigation ul {
        gap: 1.5rem;
    }
    
    .main-navigation a {
        font-size: 0.95rem;
    }
    
    .main-logo {
        height: 40px;  /* کوچک کردن لوگو در تبلت */
    }
    
    .site-title {
        font-size: 1.7rem;  /* کوچک کردن عنوان سایت */
    }
}

@media (max-width: 480px) {
    .site-header {
        height: 50px;  /* کاهش بیشتر ارتفاع هدر */
    }
    
    .site-header.scrolled {
        height: 45px;  /* کاهش بیشتر ارتفاع هنگام اسکرول */
    }
    
    .header-content {
        padding: 0.3rem 0;  /* کاهش بیشتر padding */
    }
    
    /* لوگو در حالت responsive کوچک بماند */
    .main-logo {
        height: 25px !important;  /* کوچکتر کردن لوگو */
    }
    
    .main-logo.logo-small {
        height: 20px !important;  /* کوچکتر کردن لوگو هنگام اسکرول */
    }
    
    .site-name {
        font-size: 0.9rem !important;  /* کوچکتر کردن نام سایت */
    }
    
    .main-navigation {
        width: 70%;  /* کوچکتر کردن عرض منو در موبایل */
        max-width: 250px;  /* کاهش حداکثر عرض */
        padding: 50px 10px 20px;  /* کاهش padding */
    }
    
    .main-navigation a {
        font-size: 0.95rem;  /* کوچکتر کردن فونت */
        padding: 15px 20px;  /* بهبود padding */
    }
    
    .main-logo {
        height: 35px;  /* کوچک کردن لوگو در موبایل */
    }
    
    .site-title {
        font-size: 1.5rem;  /* کوچک کردن عنوان سایت */
    }
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(220, 38, 38, 0.4) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: white;
}

.slide-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.slide-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--yellow-color, #ffd700);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.slide-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease 0.2s;
}

.slide.active .slide-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.slide-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease 0.4s;
}

.slide.active .slide-description {
    opacity: 1;
    transform: translateY(0);
}

.slide-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease 0.6s;
}

.slide.active .slide-buttons {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.nav-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.nav-btn:hover {
    background: rgba(255,215,0,0.8);
    color: #333;
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--yellow-color, #ffd700);
    border-color: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255,215,0,0.8);
    transform: scale(1.1);
}

/* Slider Progress Bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.3);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--yellow-color, #ffd700), #dc2626);
    width: 0%;
    transition: width 0.1s linear;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--yellow-color, #ffd700);
    color: #333;
}

.btn-primary:hover {
    background: #ffed4e;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

/* Services Section */
.services-section {
    padding: var(--section-padding, 5rem) 0;
    background: linear-gradient(135deg, var(--background-color, #ffffff) 0%, var(--background-light, #ffebee) 100%);
}

.services-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-link {
    display: inline-block;
    background: var(--service-button-bg-color, linear-gradient(135deg, #ffd700, #ffed4e));
    color: var(--service-button-text-color, #333);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--service-button-text-size, 14px);
    padding: var(--service-button-text-padding-top, 12px) 24px;
    border-radius: var(--service-button-border-radius, 25px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--service-button-shadow-color, rgba(255, 215, 0, 0.3));
    border: 2px solid transparent;
    text-align: var(--service-button-text-align, center);
    min-width: var(--service-button-width, 140px);
    width: var(--service-button-width, 140px);
    height: var(--service-button-height, auto);
    min-height: var(--service-button-height, auto);
}

.service-link:hover {
    background: var(--service-button-hover-color, linear-gradient(135deg, #ffed4e, #ffd700));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--service-button-shadow-color, rgba(255, 215, 0, 0.4));
    color: var(--service-button-text-color, #333);
}

/* Service Modal Styles */
.service-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.service-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-modal-close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px 20px;
    line-height: 1;
}

.service-modal-close:hover,
.service-modal-close:focus {
    color: #000;
    text-decoration: none;
}

.service-modal-header {
    padding: 20px 30px 10px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px 15px 0 0;
}

.service-modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
}

.service-modal-body {
    padding: 30px;
}

.service-modal-image {
    text-align: center;
    margin-bottom: 20px;
}

.service-modal-text {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.service-modal-text h3,
.service-modal-text h4 {
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
}

.service-modal-text p {
    margin-bottom: 15px;
}

.service-modal-text ul,
.service-modal-text ol {
    margin-bottom: 15px;
    padding-right: 20px;
}

.service-modal-text li {
    margin-bottom: 8px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .service-modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .service-modal-header {
        padding: 15px 20px 10px;
    }
    
    .service-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .service-modal-body {
        padding: 20px;
    }
    
    .service-modal-text {
        font-size: 1rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 0;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transition removed for static behavior */
}

.service-card:hover .service-image img {
    /* transform removed for static behavior */
}

.service-card:hover {
    transform: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    padding: 0 2rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    padding: 0 2rem;
}

/* Customers Section */
.customers-section {
    padding: var(--section-padding, 5rem) 0;
    background: linear-gradient(135deg, var(--background-light, #ffebee) 0%, var(--background-color, #ffffff) 100%);
}

.search-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.search-form h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.search-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #dc2626;
}

.search-submit {
    width: 100%;
    padding: 15px 20px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.search-submit:hover {
    background: #b91c1c;
}

@media (min-width: 768px) {
    .search-input-group {
        flex-direction: row;
        gap: 1rem;
        align-items: flex-end;
    }
    
    .search-input {
        flex: 1;
        margin-bottom: 0;
    }
    
    .search-submit {
        width: auto;
        min-width: 150px;
        margin-top: 0;
    }
}

/* Recent Repairs */
.repairs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #dc2626 #f0f0f0;
}

/* Custom scrollbar for webkit browsers */
.repairs-grid::-webkit-scrollbar {
    height: 8px;
}

.repairs-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.repairs-grid::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 10px;
}

.repairs-grid::-webkit-scrollbar-thumb:hover {
    background: #b91c1c;
}

.repair-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    min-width: 280px;
    max-width: 280px;
    min-height: 280px;
    max-height: 280px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* transition removed for static behavior */
}

.repair-card:hover {
    /* transform removed for static behavior */
}

.repair-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.repair-id {
    font-weight: 600;
    color: #dc2626;
}

.repair-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.repair-status.completed {
    background: #d4edda;
    color: #155724;
}

.repair-status.in-progress {
    background: #fff3cd;
    color: #856404;
}

.repair-details {
    flex: 1;
    overflow-y: auto;
}

.repair-details p {
    margin-bottom: 0.4rem;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.tech-link {
    color: #dc2626;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.tech-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.tech-link i {
    margin-left: 5px;
}

/* About Section */
.about-section {
    padding: var(--section-padding, 5rem) 0;
    background: linear-gradient(135deg, var(--background-light, #ffebee) 0%, var(--background-color, #ffffff) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc2626;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding, 5rem) 0;
    background: linear-gradient(135deg, var(--background-color, #ffffff) 0%, var(--background-light, #ffebee) 100%);
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #dc2626;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.site-footer {
    background: rgba(255, 255, 255, var(--footer-opacity, 0.5));
    color: var(--text-color, #333);
    padding: 3rem 0 1rem;
    backdrop-filter: blur(10px);
}


.footer-section h4 {
    color: var(--primary-color, #dc2626);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color, #dc2626);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--primary-color-rgb, 220, 38, 38), 0.3);
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hero Slider Responsive */
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.5rem;
    }
    
    .slide-description {
        font-size: 1.1rem;
    }
    
    .slide-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .slide-buttons .btn {
        width: 200px;
        justify-content: center;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .slider-nav {
        padding: 0 1rem;
    }
    
    .slider-indicators {
        bottom: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* About Section Responsive */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .repairs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .repair-card {
        min-width: 200px;
        max-width: 200px;
        min-height: 200px;
        max-height: 200px;
    }
    
    /* Logo responsive adjustments */
    .main-logo {
        height: 30px;  /* کوچکتر کردن لوگو */
    }
    
    .site-name {
        font-size: 1rem;  /* کوچکتر کردن نام سایت */
    }
    
    .site-branding {
        font-size: 1rem;  /* کوچکتر کردن برندینگ */
    }
    
    /* Mobile menu toggle adjustments */
    .mobile-menu-toggle {
        width: 60px;  /* کوچکتر کردن دکمه منو */
        height: 35px;
    }
    
    .hamburger-line {
        width: 35px;  /* کوچکتر کردن خطوط همبرگر */
        height: 2px;
    }
}

@media (max-width: 480px) {
    /* Hero Slider Mobile */
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .slide-text {
        padding: 1rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-nav {
        padding: 0 0.5rem;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
    
    .slider-indicators {
        bottom: 0.5rem;
        gap: 0.5rem;
    }
    
    .slide-buttons .btn {
        width: 150px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .repairs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .repair-card {
        min-width: 150px;
        max-width: 150px;
        min-height: 150px;
        max-height: 150px;
        padding: 1rem;
    }
    
    /* Logo responsive adjustments */
    .main-logo {
        height: 25px;  /* کوچکتر کردن لوگو در موبایل */
    }
    
    .site-name {
        font-size: 0.9rem;  /* کوچکتر کردن نام سایت */
    }
    
    .site-branding {
        font-size: 0.9rem;  /* کوچکتر کردن برندینگ */
    }
    
    /* Mobile menu toggle adjustments for small screens */
    .mobile-menu-toggle {
        width: 50px;  /* کوچکتر کردن دکمه منو */
        height: 30px;
    }
    
    .hamburger-line {
        width: 30px;  /* کوچکتر کردن خطوط همبرگر */
        height: 2px;
    }
}

/* WordPress Specific Styles */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

/* RTL Specific Adjustments */
body.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .main-navigation ul {
    flex-direction: row-reverse;
}

.rtl .hero-buttons {
    flex-direction: row-reverse;
}

/* Counter Section */
.counter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--counter-bg-color, #dc2626) 0%, var(--counter-bg-dark, #991b1b) 100%);
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.counter-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.counter-item::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: left 0.6s ease;
}

.counter-item:hover::before {
    left: 100%;
}

.counter-item:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.counter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.counter-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.counter-item:hover .counter-icon::before {
    width: 100%;
    height: 100%;
}

.counter-icon i {
    font-size: 32px;
    color: #ffffff;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.counter-item:hover .counter-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(360deg);
}

.counter-item:hover .counter-icon i {
    color: #ffffff;
    transform: scale(1.1);
}

.counter-number {
    margin-bottom: 15px;
    position: relative;
}

.counter-number .count {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: inline-block;
    transition: all 0.3s ease;
}

.counter-number .plus {
    font-size: 2rem;
    color: var(--yellow-color, #ffd700);
    font-weight: 600;
    margin-left: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.counter-item:hover .counter-number .count {
    transform: scale(1.1);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.counter-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.counter-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Counter Animation Keyframes */
@keyframes counterPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes counterGlow {
    0% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.6); }
    100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.3); }
}

.counter-item.animate {
    animation: counterPulse 0.6s ease, counterGlow 1s ease;
}

/* Responsive Counter */
@media (max-width: 768px) {
    .counter-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .counter-item {
        padding: 30px 20px;
    }
    
    .counter-icon {
        width: 60px;
        height: 60px;
    }
    
    .counter-icon i {
        font-size: 24px;
    }
    
    .counter-number .count {
        font-size: 2.5rem;
    }
    
    .counter-number .plus {
        font-size: 1.5rem;
    }
    
    .counter-label {
        font-size: 1.2rem;
    }
}

/* Counter Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.counter-number .count.pulse {
    animation: pulse 0.3s ease;
}

/* Repair Card Status Styles */
.repair-status.status-active {
    background: #dcfce7;
    color: #166534;
}

.repair-status.status-delivered_to_customer {
    background: #dbeafe;
    color: #1e40af;
}

.repair-status.status-company_warehouse,
.repair-status.status-rocket_warehouse {
    background: #fef3c7;
    color: #92400e;
}

.repair-status.status-destroyed {
    background: #fee2e2;
    color: #991b1b;
}

/* Recent Repairs Section */
.recent-repairs {
    margin-top: 60px;
    padding: 40px 0;
}

.recent-repairs h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 40px;
    position: relative;
}

.recent-repairs h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ffd700);
    border-radius: 2px;
}

/* Repairs Grid */
.repairs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #dc2626 #f3f4f6;
}

.repairs-grid::-webkit-scrollbar {
    height: 8px;
}

.repairs-grid::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 4px;
}

.repairs-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #dc2626, #ffd700);
    border-radius: 4px;
}

.repairs-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #b91c1c, #eab308);
}

/* Repair Card */
.repair-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 280px;
    max-width: 280px;
    min-height: 280px;
    max-height: 280px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.repair-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ffd700);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.repair-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #dc2626;
}

.repair-card:hover::before {
    opacity: 1;
}

/* Repair Header */
.repair-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.repair-id {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 6px;
}

.repair-status {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
    min-width: 80px;
}

/* Repair Details */
.repair-details {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

.repair-details p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #4b5563;
}

.repair-details p strong {
    color: #1f2937;
    font-weight: 600;
}

/* Tech Link */
.tech-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-link:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.tech-link i {
    margin-left: 5px;
}

/* Responsive Repairs Grid */
@media (max-width: 768px) {
    .repairs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .repair-card {
        min-width: 200px;
        max-width: 200px;
        min-height: 200px;
        max-height: 200px;
        padding: 15px;
    }
    
    .repair-details p {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .repair-header {
        margin-bottom: 10px;
    }
    
    .repair-id {
        font-size: 1rem;
    }
    
    .repair-status {
        font-size: 0.8rem;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .repairs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .repair-card {
        min-width: 150px;
        max-width: 150px;
        min-height: 150px;
        max-height: 150px;
        padding: 12px;
    }
    
    .repair-details p {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }
    
    .repair-header {
        margin-bottom: 8px;
    }
    
    .repair-id {
        font-size: 0.9rem;
        padding: 3px 6px;
    }
    
    .repair-status {
        font-size: 0.75rem;
        padding: 3px 6px;
        min-width: 60px;
    }
}

/* Customers Section */
.customers-section {
    background: url('../image/background1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.customers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}

.customers-section .container {
    position: relative;
    z-index: 1;
}

.customers-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.portal-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.portal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    background: #f8f9fa;
    border-color: #dc2626;
}

.tube-status-card {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.representatives-card {
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
}

.portal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.representatives-card .portal-icon {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.portal-icon i {
    font-size: 2.5rem;
    color: white;
}

.portal-content h3 {
    font-size: 1.8rem;
    color: #333333;
    margin-bottom: 20px;
    font-weight: 700;
}

.portal-content p {
    color: #666666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.portal-features {
    list-style: none;
    margin-bottom: 30px;
}

.portal-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #555;
    font-size: 1rem;
}

.portal-features li i {
    color: #4CAF50;
    margin-left: 10px;
    font-size: 0.9rem;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #dc2626;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.representatives-card .portal-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.portal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    text-decoration: none;
    color: #ffffff;
    background: #b91c1c;
}

.representatives-card .portal-btn:hover {
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.portal-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    opacity: 0.1;
}

.decoration-circle {
    width: 100px;
    height: 100px;
    border: 3px solid #dc2626;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
}

.decoration-line {
    width: 60px;
    height: 3px;
    background: #dc2626;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.representatives-card .decoration-circle {
    border-color: #2196F3;
}

.representatives-card .decoration-line {
    background: #2196F3;
}


/* Portal Responsive Design */
@media (max-width: 768px) {
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .portal-card {
        padding: 30px 20px;
    }
    
    .portal-icon {
        width: 60px;
        height: 60px;
    }
    
    .portal-icon i {
        font-size: 2rem;
    }
    
    .portal-content h3 {
        font-size: 1.5rem;
    }
}

/* Contact Section - New Design */
.contact-section {
    background: #f8f9fa;
    padding: 40px 0;
    position: relative;
}

.contact-section .container {
    position: relative;
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Contact Email Card */
.contact-email-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-email-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #2196F3);
}

.email-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
}

.email-icon i {
    font-size: 2.5rem;
    color: white;
}

.email-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.email-address {
    font-size: 1.2rem;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 20px;
    word-break: break-all;
}

.email-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    max-width: 800px;
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-header h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.form-header p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    text-align: center;
    margin-top: 15px;
}

.submit-btn {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #b91c1c, #7f1d1d);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Google reCAPTCHA */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 0;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

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

.notification-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 12px;
}

.notification.success {
    border-left: 4px solid #28a745;
}

.notification.error {
    border-left: 4px solid #dc3545;
}

.notification.info {
    border-left: 4px solid #17a2b8;
}

.notification i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification.success i {
    color: #28a745;
}

.notification.error i {
    color: #dc3545;
}

.notification.info i {
    color: #17a2b8;
}

.notification span {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-close:hover {
    color: #333;
}

.submit-note {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Counter Section - Elegant Design */
.counter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    position: static;
    overflow: visible;
}

.counter-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.counter-text {
    flex: 1;
    text-align: right;
}

.counter-text h3 {
    font-size: 32px;
    color: #fff;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.counter-stats {
    flex: 2;
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.counter-item {
    text-align: center;
    color: #fff;
    flex: 1;
    position: static;
}

.counter-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.counter-number {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    font-family: 'Tajawal', sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: #fff;
}

.counter-label {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    line-height: 1.3;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Recent Tubes Section */
.recent-tubes-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.tubes-grid-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.tubes-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 15px 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #dc2626 #f1f1f1;
}

.tubes-grid::-webkit-scrollbar {
    height: 8px;
}

.tubes-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.tubes-grid::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 4px;
}

.tubes-grid::-webkit-scrollbar-thumb:hover {
    background: #b91c1c;
}

.tube-card {
    flex: 0 0 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.tube-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.tube-image {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tube-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tube-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.tube-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: #fff;
    z-index: 2;
}

.tube-label-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.tube-content {
    padding: 15px;
}

.tube-serial {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.tube-status {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 10px;
}

.tube-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.tube-description {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tube-actions {
    display: flex;
    gap: 8px;
}

.view-details-btn {
    flex: 1;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.view-details-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
}

/* Tube Details Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.modal-header .close {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.modal-header .close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

.tube-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tube-detail-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-right: 4px solid #dc2626;
}

.tube-detail-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.tube-detail-value {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.tube-services-list {
    margin-top: 30px;
}

.services-title {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dc2626;
}

.service-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.service-type {
    background: #dc2626;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.service-date {
    color: #666;
    font-size: 12px;
}

.service-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.service-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.service-video {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    margin-top: 10px;
}

/* Latest Service Section */
.latest-service-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 1px solid #dee2e6;
}

.latest-service-section .section-title {
    color: #dc2626;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #dc2626;
    text-align: center;
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.service-detail-item {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    border-right: 4px solid #dc2626;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-detail-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.service-detail-value {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.warranty-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.warranty-status.active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.warranty-status.inactive {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.service-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.service-status.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.service-status.in_progress {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.service-status.completed {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.service-status.delivered {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

.service-images-section,
.service-video-section {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.service-images-section .service-detail-label,
.service-video-section .service-detail-label {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .tube-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .service-details-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .latest-service-section {
        padding: 15px;
    }
    
    .latest-service-section .section-title {
        font-size: 18px;
    }
}

.scroll-indicator {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    padding: 10px 15px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tubes-grid-container:hover .scroll-indicator {
    opacity: 1;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(-5px);
    }
    60% {
        transform: translateX(-3px);
    }
}

/* Tube Details Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.close {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

.tube-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.tube-detail-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-right: 4px solid #dc2626;
}

.tube-detail-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.tube-detail-value {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.tube-services-list {
    margin-top: 30px;
}

.services-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #dc2626;
    padding-bottom: 10px;
}

.service-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: #dc2626;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.1);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.service-type {
    background: #dc2626;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.service-date {
    font-size: 14px;
    color: #666;
}

.service-description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.service-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.service-video {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-top: 15px;
}

/* Customers Section with Parallax */
.customers-section {
    background: url('../image/background1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.customers-section.parallax-enabled {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.customers-section.parallax-disabled {
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
}

.customers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}

.customers-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.customers-section .container {
    position: relative;
    z-index: 1;
}

.customers-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Contact Section Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-info-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.contact-info-header h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 8px;
}

.contact-info-header p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.contact-methods {
    margin-bottom: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 18px;
}

.contact-details h4 {
    color: #333;
    font-size: 16px;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    font-size: 14px;
    margin: 0;
    direction: ltr;
    text-align: right;
}

.social-media {
    border-top: 2px solid #f0f0f0;
    padding-top: 20px;
}

.social-media h4 {
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

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

.social-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link i {
    font-size: 20px;
    margin-left: 12px;
    width: 24px;
    text-align: center;
}

.social-link span {
    font-size: 14px;
}

.social-link.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584);
    color: white;
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #C13584, #E4405F);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.3);
}

.social-link.telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: white;
}

.social-link.telegram:hover {
    background: linear-gradient(135deg, #006699, #0088cc);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.social-link.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.contact-form {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.form-header h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 8px;
}

.form-header p {
    color: #666;
    font-size: 13px;
    margin: 0;
}

.modern-contact-form {
    direction: rtl;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 8px;
    align-items: center;
}

.form-group {
    margin-bottom: 8px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-submit {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    height: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.submit-btn i {
    font-size: 14px;
}

/* Captcha and Submit Button Layout */
.captcha-submit-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    justify-content: space-between;
}

/* When no captcha, center the submit button */
.captcha-submit-container:not(:has(.captcha-wrapper)) {
    justify-content: center;
}

.captcha-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-wrapper {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.9);
    transform-origin: center;
}

.g-recaptcha > div {
    transform: scale(0.9);
    transform-origin: center;
}

/* Contact Section Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-link {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .captcha-submit-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .counter-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .counter-text h3 {
        font-size: 24px;
        text-align: center;
    }
    
    .counter-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .counter-item {
        padding: 15px 10px;
    }
    
    .counter-icon {
        font-size: 28px;
    }
    
    .counter-number {
        font-size: 32px;
    }
    
    .counter-label {
        font-size: 14px;
    }
    
    .recent-tubes-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .tube-card {
        flex: 0 0 280px;
    }
    
    .tube-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-body {
        padding: 20px;
    }
}
    
    .contact-email-card,
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .email-icon {
        width: 60px;
        height: 60px;
    }
    
    .email-icon i {
        font-size: 2rem;
    }
    
    .email-content h3 {
        font-size: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: slideInDown 0.3s ease-out;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

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

.form-message i {
    font-size: 1.2rem;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 15px;
    text-align: center;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

/* Footer Layout */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-content .footer-section:first-child {
    justify-self: start;
}

.footer-content .footer-section:last-child {
    justify-self: end;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo-img {
        height: 35px;
    }
}

/* Announcement Popup Styles */
.announcement-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.announcement-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: announcementSlideIn 0.5s ease-out;
    z-index: 10000;
}

.announcement-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.announcement-body {
    padding: 20px 0;
}

.announcement-icon {
    margin-bottom: 20px;
}

.announcement-icon i {
    font-size: 48px;
    opacity: 0.9;
}

.announcement-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.announcement-message {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

/* Animation */
@keyframes announcementSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Contact Form Notification */
.contact-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
    animation: notificationSlideIn 0.5s ease-out;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 20px;
    color: white;
    position: relative;
}

.notification-icon {
    margin-left: 15px;
    font-size: 24px;
    opacity: 0.9;
}

.notification-text h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.notification-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.notification-close {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Animation */
@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .announcement-content {
        width: 95%;
        padding: 30px 20px;
        margin: 20px;
    }
    
    .announcement-title {
        font-size: 20px;
    }
    
    .announcement-message {
        font-size: 14px;
    }
    
    .announcement-icon i {
        font-size: 40px;
    }
}
