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

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 1rem;
}

.language-btn {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    color: #374151;
}

.language-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
}

.current-flag {
    font-size: 1.1rem;
}

.current-lang {
    font-weight: 500;
}

.language-btn .fas {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.language-btn:hover .fas {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.language-dropdown.show,
.language-switcher:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.language-option {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    pointer-events: auto;
    position: relative;
    z-index: 10000;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: #f8fafc;
}

.language-option.active {
    background: #eff6ff;
    color: #2563eb;
}

.language-option .flag {
    font-size: 1.1rem;
}

.language-option .lang-name {
    font-weight: 500;
}

/* Mobile responsive for language switcher */
@media (max-width: 768px) {
    .language-switcher {
        position: static;
        transform: none;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .language-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .language-dropdown.show {
        transform: translateX(-50%) translateY(0);
    }
}

/* RTL Support for Arabic */
html[lang="ar"] {
    direction: rtl;
}

html[lang="ar"] .navbar .container {
    flex-direction: row-reverse;
}

html[lang="ar"] .nav-menu {
    flex-direction: row-reverse;
}

html[lang="ar"] .language-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

html[lang="ar"] .hero-content {
    text-align: right;
}

html[lang="ar"] .about-content {
    flex-direction: row-reverse;
}

html[lang="ar"] .features-showcase {
    flex-direction: row-reverse;
}

html[lang="ar"] .language-dropdown {
    right: auto;
    left: 0;
}

/* Image Styles for Real Photos */
.hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.advantages-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Top Contact Bar */
.top-contact-bar {
    background: #2563eb;
    color: white;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.top-contact-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

@media (max-width: 768px) {
    .top-contact-bar {
        display: none;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-brand h2 {
    color: #2563eb;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.nav-menu a {
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu a:hover {
    color: #2563eb;
    text-decoration: none !important;
    border-bottom: none !important;
}

.dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.dropdown-toggle:hover i {
    transform: rotate(180deg);
}

.nav-cta {
    display: flex;
    align-items: center;
}

.btn-cta {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid #2563eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 2rem 100px;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
        url('hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 160px;
    text-align: center;
}

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

.btn-outline:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.btn-filled {
    background: white;
    color: #333;
    border: 2px solid white;
}

.btn-filled:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    display: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8fafc;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Main Feature */
.main-feature {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.main-feature::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    transform: translate(50%, -50%);
    opacity: 0.1;
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-feature-content h3 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.main-feature-content p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #374151;
    font-weight: 500;
}

.feature-list i {
    color: #10b981;
    font-size: 1rem;
}

.feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

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

.feature-image-placeholder {
    width: 300px;
    height: 250px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    position: relative;
    overflow: hidden;
}

.feature-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-image-placeholder span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card.modern {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.feature-card.modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card.modern:hover::before {
    transform: scaleX(1);
}

.feature-card.modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.feature-icon-modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #2563eb;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card.modern:hover .feature-icon-modern {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    transform: scale(1.1);
}

.feature-card.modern h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card.modern p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

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

.about-text h2 {
    color: #1e293b;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.about-description {
    margin-bottom: 2.5rem;
}

.about-description p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.learn-more-btn:hover {
    color: #1d4ed8;
    border-bottom-color: #2563eb;
    transform: translateX(5px);
}

.learn-more-btn i {
    transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
    transform: translateX(3px);
}

.about-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.about-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border-radius: 15px;
}

.about-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-image-placeholder span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* About Page */
.about-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 9999;
    overflow-y: auto;
}

.about-page.active {
    display: block;
}

.about-navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
}

.about-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-nav-brand .brand-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-nav-brand .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-nav-brand h2 {
    color: #2563eb;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.about-nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.about-nav-menu a {
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.about-nav-menu a:hover,
.about-nav-menu a.active {
    color: #2563eb;
    text-decoration: none !important;
    border-bottom: none !important;
}

.about-nav-menu .dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.about-nav-menu .dropdown-toggle:hover i {
    transform: rotate(180deg);
}

.about-nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-page-close-btn {
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-page-close-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.about-page-content {
    padding: 0;
}

/* About Hero Section */
.about-hero-section {
    background: 
        linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(59, 130, 246, 0.3)),
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)),
        url('hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.about-hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.about-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero button styles */
.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-outline-white::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.5s;
}

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-filled-white {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    color: #2563eb;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-filled-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.about-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-white:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.btn-filled-white {
    background: white;
    color: #333;
    border: 2px solid white;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-filled-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Our Factory Section */
.our-factory-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.our-factory-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), transparent);
}

.factory-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.factory-text h2 {
    color: #1e293b;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.factory-text p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.factory-image-container {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.factory-image-container:hover {
    transform: scale(1.02);
}

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

.factory-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: background 0.3s ease;
}

.factory-image-placeholder:hover {
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
}

.factory-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.factory-image-placeholder span {
    font-weight: 600;
    font-size: 1.1rem;
}

.about-details {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.about-details .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.about-story,
.about-mission {
    background: rgba(255, 255, 255, 0.9);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 1rem;
}

.about-story:hover,
.about-mission:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-story h3,
.about-mission h3 {
    color: #1e293b;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.about-story h3::after,
.about-mission h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

.about-mission h4 {
    color: #1e293b;
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.values-list {
    list-style: none;
    margin: 0;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #374151;
    font-weight: 500;
}

.values-list i {
    color: #10b981;
}

.about-stats-section {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    padding: 5rem 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.about-stats-section h3 {
    color: white;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::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;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.about-capabilities h3 {
    color: #1e293b;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.capability-item {
    padding: 2rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    transition: box-shadow 0.3s ease;
}

.capability-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.capability-item h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.capability-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Blog Section */
.blog-nav {
    padding: 80px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-content h3 {
    margin: 1rem 0 0.5rem;
    color: #333;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
}

.blog-cta {
    text-align: center;
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.advantage-text h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.advantages-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

/* Brand Info Section */
.brand-info {
    padding: 80px 0;
    background: white;
}

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

.logo-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    margin: 0 auto;
}

.brand-details h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.brand-tagline {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.brand-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.value-item h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

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

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

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

.footer-section a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #764ba2;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        order: -1;
        margin-right: 1rem;
    }

    .btn-cta {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 80px 1rem 60px;
        min-height: 100vh;
        background-attachment: scroll; /* 移动端不使用 fixed */
    }
    
    .hero .container {
        padding: 0 1rem;
        max-width: none;
    }
    
    .hero-content {
        padding: 1rem;
        max-width: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 200px;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .about {
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-image-container {
        height: 300px;
    }
    
    .about-page-content {
        padding: 0;
    }
    
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .about-hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-outline-white,
    .btn-filled-white {
        width: 200px;
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
    
    .our-factory-section {
        padding: 80px 0;
    }
    
    .factory-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left;
    }
    
    .factory-text h2 {
        font-size: 2rem;
    }
    
    .factory-image-container {
        height: 300px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-nav-menu {
        display: none;
    }

    .advantages-content,
    .brand-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features {
        padding: 80px 0;
    }
    
    .features-showcase {
        gap: 3rem;
    }
    
    .main-feature {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }
    
    .main-feature-content h3 {
        font-size: 1.75rem;
    }
    
    .feature-image-placeholder {
        width: 250px;
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card.modern {
        padding: 2rem 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 100px 1rem 60px;
    }
    
    .hero .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }

    .section-header,
    .features,
    .about,
    .blog-nav,
    .advantages,
    .brand-info {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-placeholder {
        width: 250px;
        height: 180px;
        font-size: 2.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Contact Page */
.contact-page {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 9999;
    overflow-y: auto;
}

.contact-page.active {
    display: block;
}

/* Contact Page Navigation */
.contact-navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
}

.contact-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-nav-brand .brand-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-nav-brand .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-nav-brand h2 {
    color: #2563eb;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.contact-nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
}

.contact-nav-menu a {
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

.contact-nav-menu a:hover {
    color: #2563eb;
    text-decoration: none !important;
    border-bottom: none !important;
}

.contact-nav-menu a.active {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* .contact-nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
} */

.contact-nav-cta {
    display: flex;
    align-items: center;
}

.contact-page-close-btn {
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-page-close-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.contact-hero {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.contact-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.contact-hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 160px;
    text-align: center;
}

.contact-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: #6b7280;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-item i {
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.contact-form-section {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
    font-size: 1.75rem;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-page-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.contact-page-form .form-group.full-width {
    grid-column: 1 / -1;
}

.contact-page-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.contact-page-form input,
.contact-page-form textarea {
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
}

.contact-page-form input:focus,
.contact-page-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.contact-page-form .submit-btn {
    background: #2563eb;
    color: white;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.contact-page-form .submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Contact Page Close Button */
.contact-page-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10000;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-page-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Mobile Contact Page Styles */
@media (max-width: 768px) {
    .contact-nav-menu {
        display: none;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-hero-buttons .btn {
        width: 200px;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .contact-content {
        padding: 60px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-section {
        padding: 2rem 1.5rem;
    }
    
    .contact-page-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-page-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

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

.modal-content {
    background-color: #ffffff;
    margin: 2% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    text-align: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    letter-spacing: 1px;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    color: #9ca3af;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.close:hover {
    color: #374151;
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
}

.modal-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.captcha-group {
    margin: 1rem 0;
}

.captcha-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background-color: #f9fafb;
}

.captcha-container input[type="checkbox"] {
    margin: 0;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.captcha-container label {
    font-size: 0.875rem;
    color: #374151;
    margin: 0;
    flex-grow: 1;
}

.recaptcha-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.recaptcha-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1f2937;
}

.recaptcha-badge small {
    font-size: 0.625rem;
    color: #6b7280;
    margin-top: 0.125rem;
}

.submit-btn {
    background: #2563eb;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.submit-btn:disabled:hover {
    background: #9ca3af;
    transform: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

.form-message.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.form-message.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

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

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .recaptcha-badge {
        align-items: flex-start;
        text-align: left;
    }
}

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

.feature-card,
.blog-card,
.advantage-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Blog Page Styles */
.blog-hero {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)),
        url('hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 120px 2rem 100px;
    position: relative;
}

.blog-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.blog-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.blog-hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.blog-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Blog Categories Section */
.blog-categories-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.blog-categories-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4rem;
    position: relative;
}

/* .blog-categories-section h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 2px;
} */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.6s;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

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

.category-card:hover .category-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.category-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-count {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Featured Articles Section */
.featured-articles-section {
    padding: 8rem 2rem;
    background: #ffffff;
}

.featured-articles-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4rem;
    position: relative;
}

/* .featured-articles-section h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 2px;
} */

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.featured-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-article-card.main-featured {
    display: flex;
    flex-direction: column;
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.featured-article-card.small {
    display: flex;
    flex-direction: row;
    height: auto;
}

.featured-article-card.small .article-image {
    flex: 0 0 120px;
}

.featured-article-card.small .article-content {
    flex: 1;
    padding: 1.5rem;
}

.article-image {
    position: relative;
    overflow: hidden;
}

.main-featured .article-image {
    height: 300px;
}

.small .article-image {
    height: 100px;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article-card:hover .article-img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content {
    padding: 2rem;
}

.article-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.article-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #1d4ed8;
    gap: 0.75rem;
}

/* Recent Articles Section */
.recent-articles-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
}

.blog-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-color: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-card .article-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.load-more-section {
    text-align: center;
    margin-top: 4rem;
}

.load-more-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    padding: 8rem 2rem;
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.newsletter-form-container {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    background: white;
    color: #2563eb;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Footer Styles */
.footer {
    background: #1e293b;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #f1f5f9;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

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

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

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

.footer-section ul li a:hover {
    color: #3b82f6;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand .brand-logo {
    width: 32px;
    height: 32px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Mobile Responsive for Blog Pages */
@media (max-width: 768px) {
    .blog-hero {
        min-height: 50vh;
        padding: 80px 1rem 60px;
        background-attachment: scroll;
    }
    
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .blog-hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .blog-categories-section,
    .featured-articles-section,
    .recent-articles-section {
        padding: 4rem 1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 2rem 1.5rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-article-card.small {
        flex-direction: column;
    }
    
    .featured-article-card.small .article-image {
        flex: none;
        height: 150px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .blog-filters {
        width: 100%;
        justify-content: center;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .newsletter-form-container {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Blog Article Page Styles */
.article-header {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 8rem 2rem 4rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #1d4ed8;
}

.breadcrumb span {
    color: #94a3b8;
}

.article-category-tag {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

.article-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 2rem;
    max-width: 1000px;
}

.article-header .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.author-title {
    color: #64748b;
    font-size: 0.9rem;
}

.article-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.article-stats i {
    color: #2563eb;
}

.article-content {
    padding: 4rem 2rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.article-body {
    max-width: none;
}

.featured-image {
    margin-bottom: 3rem;
}

.article-featured-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-caption {
    margin-top: 1rem;
    font-style: italic;
    color: #64748b;
    text-align: center;
    font-size: 0.9rem;
}

.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.article-text .lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid #2563eb;
    border-radius: 0 10px 10px 0;
}

.article-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 3rem 0 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.article-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

.article-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0 1rem;
}

.article-text p {
    margin-bottom: 1.5rem;
}

.article-text ul,
.article-text ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-text li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.article-text blockquote {
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid #2563eb;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.article-text blockquote p {
    font-size: 1.2rem;
    font-style: italic;
    color: #1e293b;
    margin-bottom: 1rem;
}

.article-text blockquote cite {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
}

.article-tags {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.article-tags h4 {
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.tag {
    display: inline-block;
    background: #f1f5f9;
    color: #2563eb;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.25rem 0.5rem 0.25rem 0;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.article-share {
    margin: 2rem 0;
}

.article-share h4 {
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.email {
    background: #6b7280;
    color: white;
}

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

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

.related-article {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.related-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-content h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.related-content h4 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: #2563eb;
}

.related-date {
    font-size: 0.8rem;
    color: #64748b;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: #2563eb;
}

.category-list span {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.cta-widget {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    text-align: center;
}

.cta-widget h3 {
    color: white;
}

.cta-widget h3::after {
    background: rgba(255, 255, 255, 0.3);
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.sidebar-cta-btn {
    display: inline-block;
    background: white;
    color: #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* More Articles Section */
.more-articles {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 8rem 2rem;
}

.more-articles h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4rem;
    position: relative;
}

/* .more-articles h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 2px;
} */

.more-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.back-to-blog {
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Mobile Responsive for Article Pages */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .article-sidebar {
        position: static;
        order: -1;
    }
    
    .sidebar-widget {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 6rem 1rem 3rem;
    }
    
    .article-header h1 {
        font-size: 2.5rem;
    }
    
    .article-header .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .article-stats {
        gap: 1rem;
    }
    
    .article-content {
        padding: 3rem 1rem;
    }
    
    .article-text {
        font-size: 1rem;
    }
    
    .article-text h2 {
        font-size: 1.5rem;
    }
    
    .article-text h3 {
        font-size: 1.3rem;
    }
    
    .article-featured-img {
        height: 250px;
    }
    
    .share-buttons {
        gap: 0.5rem;
    }
    
    .share-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .more-articles {
        padding: 4rem 1rem;
    }
    
    .more-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Animation keyframes */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* About Page Mobile Responsiveness */
@media (max-width: 768px) {
    .about-page .top-contact-bar {
        display: none;
    }
    
    .about-nav-menu {
        display: none;
    }
    
    .about-nav-cta .btn-cta {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .about-nav-cta .btn-cta i {
        font-size: 0.8rem;
    }
    
    .about-hero-section {
        min-height: 50vh;
        padding: 2rem 1rem;
        background-attachment: scroll;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .about-details {
        padding: 3rem 1rem;
    }
    
    .about-details .container {
        padding: 0 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: none;
    }
    
    .about-story,
    .about-mission {
        margin: 0;
        padding: 2.5rem;
    }
    
    .about-stats-section {
        margin: 0;
        padding: 3rem 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-card {
        padding: 2rem 1rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .our-factory-section {
        padding: 4rem 1rem;
    }
    
    .our-factory-section .factory-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: none;
    }
}
