/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 80px;
}

/* ========== LOADING SCREEN ========== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d47a1 0%, #2196f3 50%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    position: relative;
}

.loading-logo {
    position: relative;
    display: inline-block;
}

.logo-text {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    display: block;
    animation: loadingLogoPulse 2s ease-in-out infinite;
}

/* Çevredeki Çizgiler */
.logo-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: 1;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px;
}

.line-3 {
    top: 50%;
    left: 0;
    width: 80px;
    height: 2px;
    transform: translateY(-50%);
    animation: lineGrow 2s ease-in-out infinite;
    animation-delay: 0s;
}

.line-4 {
    top: 50%;
    right: 0;
    width: 80px;
    height: 2px;
    transform: translateY(-50%);
    animation: lineGrow 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Alt Çizgiler */
.logo-underline {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    width: 200px;
    justify-content: center;
}

.underline-segment {
    height: 3px;
    background: linear-gradient(90deg, #0d47a1, #2196f3, #ffffff);
    border-radius: 2px;
    animation: segmentExpand 2s ease-in-out infinite;
}

.segment-1 {
    width: 40px;
    animation-delay: 0s;
}

.segment-2 {
    width: 60px;
    animation-delay: 0.3s;
}

.segment-3 {
    width: 40px;
    animation-delay: 0.6s;
}

/* Yeni Animasyonlar */
@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 30px rgb(255, 255, 255);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 50px rgba(255, 255, 255, 0.6);
        transform: scale(1.02);
    }
}

@keyframes lineGrow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes segmentExpand {
    0%, 100% {
        transform: scaleX(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes loadingLogoPulse {
    0%, 100% {
        text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgb(255, 255, 255);
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 30px rgb(255, 255, 255);
        transform: scale(1.05);
        opacity: 1;
    }
}

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

/* ========== HEADER ========== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
}

.nav-logo {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-img {
    width: 120px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 15px rgba(13, 71, 161, 0.3));
    max-height: 50px;
    max-width: 120px;
}

.logo-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0d47a1, #2196f3, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

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

.nav-logo:hover .logo-image {
    transform: scale(1.02);
}

.nav-logo:hover .logo-img {
    filter: drop-shadow(0 6px 20px rgba(13, 71, 161, 0.4));
}

.nav-logo:hover .logo-image::before {
    left: 100%;
}

.nav-logo:hover .logo-text {
    background: linear-gradient(135deg, #2196f3, #0d47a1, #64b5f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0d47a1, #2196f3, #ffffff);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #0d47a1;
}

/* ========== DROPDOWN MENU ========== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(13, 71, 161, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    margin-top: 1rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.1));
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.05), rgba(33, 150, 243, 0.05));
    color: #0d47a1;
    transform: translateX(5px);
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    transition: width 0.3s ease;
}

.dropdown-item:hover::before {
    width: 3px;
}

.dropdown-item i {
    font-size: 1rem;
    color: #0d47a1;
    transition: transform 0.3s ease;
}

.dropdown-item:hover i {
    transform: scale(1.1);
}

.dropdown-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

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

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.btn-primary {
    background: #0d47a1;
    color: white;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.btn-primary::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 ease;
}

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

.btn-primary:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
    border-radius: 12px;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

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

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

.btn-white {
    background: white;
    color: #0d47a1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ========== HERO SECTION ========== */
.hero {
    height: 350px;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.9), rgba(33, 150, 243, 0.7), rgba(255, 255, 255, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0px;
    padding: 50px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(13, 71, 161, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(33, 150, 243, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    background: linear-gradient(45deg, #ffffff, #e3f2fd, #90caf9, #2196f3, #1976d2, #ffffff, #e3f2fd, #90caf9);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease-in-out infinite, fadeInUp 1s ease-out;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* ========== SECTIONS ========== */
.section-padding {
    padding: 80px 0;
}

/* General Section Dark Theme */
[data-theme="dark"] .section-padding {
    background: var(--bg-primary);
    position: relative;
}

[data-theme="dark"] .section-padding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

[data-theme="dark"] .section-padding h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .section-padding h3 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .section-padding h4 {
    color: var(--text-secondary);
}

[data-theme="dark"] .section-padding p {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .section-padding .lead {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #0d47a1, #2196f3, #ffffff);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== FEATURES SECTION ========== */
.features {
    background: #f8f9fa;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 71, 161, 0.1), transparent);
    transition: left 0.5s ease;
}

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0d47a1, #2196f3, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.feature-text {
    color: #666;
    line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta {
    background: linear-gradient(135deg, #0d47a1, #2196f3, #ffffff);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::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: ctaRotate 20s linear infinite;
}

@keyframes ctaRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========== ANIMATIONS ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ========== MAIN THEME (Ana Sayfa Teması) ========== */
.main-theme {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.main-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(90, 111, 216, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(102, 126, 234, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.main-theme h1,
.main-theme h2,
.main-theme h3,
.main-theme h4 {
    color: var(--accent-color);
    font-weight: 600;
}

.main-theme .page-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.main-theme .page-badge i {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.main-theme .feature-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.main-theme .feature-item:hover {
    background: var(--bg-primary);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.main-theme .feature-item i {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.main-theme .feature-item h4 {
    color: var(--accent-color);
    font-weight: 600;
}

.main-theme .feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.main-theme .product-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: all 0.3s ease;
}

.main-theme .product-card:hover {
    background: var(--bg-primary);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.main-theme .product-card h3 {
    color: var(--accent-color);
    font-weight: 600;
}

.main-theme .product-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.main-theme .product-card .btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.main-theme .product-card .btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.main-theme .section-title h2 {
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.main-theme .section-title p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Dark Mode Main Theme */
[data-theme="dark"] .main-theme {
    background: var(--bg-primary);
}

[data-theme="dark"] .main-theme::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(90, 111, 216, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
}

[data-theme="dark"] .main-theme h1,
[data-theme="dark"] .main-theme h2,
[data-theme="dark"] .main-theme h3,
[data-theme="dark"] .main-theme h4 {
    color: var(--accent-color);
}

[data-theme="dark"] .main-theme .page-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .main-theme .feature-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

[data-theme="dark"] .main-theme .feature-item:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .main-theme .feature-item i {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .main-theme .feature-item h4 {
    color: var(--accent-color);
}

[data-theme="dark"] .main-theme .feature-item p {
    color: var(--text-secondary);
}

[data-theme="dark"] .main-theme .product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px var(--shadow-color);
}

[data-theme="dark"] .main-theme .product-card:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .main-theme .product-card h3 {
    color: var(--accent-color);
}

[data-theme="dark"] .main-theme .product-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .main-theme .product-card .btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .main-theme .product-card .btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

[data-theme="dark"] .main-theme .section-title h2 {
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .main-theme .section-title p {
    color: var(--text-secondary);
}

/* ========== BLUE-WHITE THEME (Eski - Geriye Dönük Uyumluluk) ========== */
.blue-white-theme {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f2f5 100%);
    position: relative;
    overflow: hidden;
}

.blue-white-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(90, 111, 216, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.blue-white-theme h1,
.blue-white-theme h2,
.blue-white-theme h3,
.blue-white-theme h4 {
    background: linear-gradient(135deg, #667eea, #5a6fd8, #667eea);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

.blue-white-theme .page-badge {
    background: linear-gradient(135deg, #667eea, #5a6fd8);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.blue-white-theme .page-badge i {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.blue-white-theme .feature-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.blue-white-theme .feature-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.blue-white-theme .feature-item i {
    color: #667eea;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.blue-white-theme .feature-item h4 {
    color: #667eea;
    font-weight: 600;
}

.blue-white-theme .feature-item p {
    color: #424242;
    line-height: 1.6;
}

.blue-white-theme .product-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.blue-white-theme .product-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.blue-white-theme .product-card h3 {
    color: #667eea;
    font-weight: 600;
}

.blue-white-theme .product-card p {
    color: #424242;
    line-height: 1.6;
}

.blue-white-theme .product-card .btn {
    background: linear-gradient(135deg, #667eea, #5a6fd8);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.blue-white-theme .product-card .btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #667eea);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.blue-white-theme .section-title h2 {
    color: #667eea;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.blue-white-theme .section-title p {
    color: #424242;
    font-weight: 500;
}

/* Dark Mode Blue-White Theme */
[data-theme="dark"] .blue-white-theme {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
}

[data-theme="dark"] .blue-white-theme::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(90, 111, 216, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
}

[data-theme="dark"] .blue-white-theme h1,
[data-theme="dark"] .blue-white-theme h2,
[data-theme="dark"] .blue-white-theme h3,
[data-theme="dark"] .blue-white-theme h4 {
    background: linear-gradient(135deg, #667eea, #5a6fd8, #667eea);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

[data-theme="dark"] .blue-white-theme .page-badge {
    background: linear-gradient(135deg, #667eea, #5a6fd8);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .blue-white-theme .feature-item {
    background: rgba(22, 27, 34, 0.8);
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

[data-theme="dark"] .blue-white-theme .feature-item:hover {
    background: rgba(22, 27, 34, 0.95);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .blue-white-theme .feature-item i {
    color: #667eea;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .blue-white-theme .feature-item h4 {
    color: #667eea;
}

[data-theme="dark"] .blue-white-theme .feature-item p {
    color: #c9d1d9;
}

[data-theme="dark"] .blue-white-theme .product-card {
    background: rgba(22, 27, 34, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.1);
}

[data-theme="dark"] .blue-white-theme .product-card:hover {
    background: rgba(22, 27, 34, 0.95);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .blue-white-theme .product-card h3 {
    color: #667eea;
}

[data-theme="dark"] .blue-white-theme .product-card p {
    color: #c9d1d9;
}

[data-theme="dark"] .blue-white-theme .product-card .btn {
    background: linear-gradient(135deg, #667eea, #5a6fd8);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

[data-theme="dark"] .blue-white-theme .product-card .btn:hover {
    background: linear-gradient(135deg, #5a6fd8, #667eea);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

[data-theme="dark"] .blue-white-theme .section-title h2 {
    color: #667eea;
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .blue-white-theme .section-title p {
    color: #c9d1d9;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        height: 55px;
        min-height: 55px;
        max-height: 55px;
        padding: 0.5rem 0;
    }
    
    .hero {
        height: 300px;
        padding: 40px 15px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-img {
        width: 90px;
        height: 40px;
        max-height: 40px;
        max-width: 90px;
    }
    
    .logo-container {
        gap: 8px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #f8f9fa;
        margin: 0.5rem 0 0 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-item {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .dropdown-toggle {
        cursor: pointer;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-badge span {
        font-size: 0.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .final-cta-content h2 {
        font-size: 1.8rem;
    }
    
    .final-cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .advantage-card {
        padding: 1.5rem 1rem;
    }
    
    .advantage-card h4 {
        font-size: 1rem;
    }
    
    .advantage-card p {
        font-size: 0.85rem;
    }
    
    .logo-text {
        font-size: 2.5rem;
        color: white;
    }
    
    .logo-lines {
        width: 200px;
        height: 200px;
    }
    
    .line-3, .line-4 {
        width: 60px;
    }
    
    .logo-underline {
        width: 150px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .navbar {
        height: 50px;
        min-height: 50px;
        max-height: 50px;
        padding: 0.4rem 0;
    }
    
    .hero {
        height: 250px;
        padding: 35px 10px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-img {
        width: 70px;
        height: 30px;
        max-height: 30px;
        max-width: 70px;
    }
    
    .logo-container {
        gap: 6px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .hero-badge {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero-badge span {
        font-size: 0.75rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    .service-content h3 {
        font-size: 1.1rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
    }
    
    .service-features li {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .final-cta-content h2 {
        font-size: 1.6rem;
    }
    
    .final-cta-content p {
        font-size: 0.9rem;
    }
    
    .advantage-card {
        padding: 1.2rem 0.8rem;
    }
    
    .advantage-card h4 {
        font-size: 0.95rem;
    }
    
    .advantage-card p {
        font-size: 0.8rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .logo-text {
        font-size: 2rem;
        color: white;
    }
    
    .logo-lines {
        width: 150px;
        height: 150px;
    }
    
    .line-3, .line-4 {
        width: 40px;
    }
    
    .logo-underline {
        width: 120px;
    }
    
    .underline-segment {
        height: 2px;
    }
    
    .menu-btn {
        min-width: 150px;
        padding: 1rem;
    }
    
    .menu-btn i {
        font-size: 1.5rem;
    }
    
    .menu-btn span {
        font-size: 0.8rem;
    }
}

/* ========== ACTIVE MENU BUTTON ========== */
.menu-btn.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ========== ADDITIONAL PAGE STYLES ========== */

/* Company Story Section */
.company-story .story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #0d47a1;
    margin-bottom: 2rem;
}

.image-placeholder {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    color: #666;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #0d47a1;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d47a1, #2196f3, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 0.5rem;
}

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

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

.certificate-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
}

.certificate-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.certificate-desc {
    font-weight: 500;
    color: #0d47a1;
    margin-bottom: 1rem;
}

.certificate-detail {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.certificate-date {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 500;
}

/* Quality Features */
.quality-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quality-features {
    margin-top: 2rem;
}

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

.quality-feature i {
    color: #28a745;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Vision Mission Cards */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.vm-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.vm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.vision-color {
    background: linear-gradient(135deg, #0d47a1, #2196f3);
}

.mission-color {
    background: linear-gradient(135deg, #2196f3, #ffffff);
    color: #0d47a1 !important;
}

.vm-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.vm-goals {
    text-align: left;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: #f8f9fa;
}

.goal-item i {
    color: #0d47a1;
    font-size: 1rem;
}

/* Values Timeline */
.values-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.values-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #0d47a1, #2196f3);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.goal-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 71, 161, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.goal-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0d47a1;
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    right: 1rem;
    transition: all 0.3s ease;
}

.goal-card:hover .goal-number {
    opacity: 0.2;
    transform: scale(1.1);
}

.goal-card h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.goal-card p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Future Goals Dark Theme */
[data-theme="dark"] .future-goals {
    background: var(--bg-primary);
}

[data-theme="dark"] .future-goals h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .future-goals .lead {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

[data-theme="dark"] .goal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

[data-theme="dark"] .goal-card:hover::before {
    left: 100%;
}

[data-theme="dark"] .goal-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

[data-theme="dark"] .goal-number {
    color: var(--accent-color);
    opacity: 0.2;
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
    transition: all 0.3s ease;
}

[data-theme="dark"] .goal-card:hover .goal-number {
    opacity: 0.4;
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(88, 166, 255, 0.5);
}

[data-theme="dark"] .goal-card h3 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .goal-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-shadow: 0 1px 2px var(--shadow-color);
    position: relative;
    z-index: 2;
}

/* Future Goals Responsive Design */
@media (max-width: 768px) {
    .goals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .goal-card {
        padding: 1.5rem;
    }
    
    .goal-number {
        font-size: 2.5rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .goal-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .goal-card p {
        font-size: 0.95rem;
    }
    
    [data-theme="dark"] .goals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    [data-theme="dark"] .goal-card {
        padding: 1.5rem;
    }
    
    [data-theme="dark"] .goal-number {
        font-size: 2.5rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    [data-theme="dark"] .goal-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    [data-theme="dark"] .goal-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .goal-card {
        padding: 1.25rem;
    }
    
    .goal-number {
        font-size: 2rem;
    }
    
    .goal-card h3 {
        font-size: 1.1rem;
    }
    
    .goal-card p {
        font-size: 0.9rem;
    }
    
    [data-theme="dark"] .goal-card {
        padding: 1.25rem;
    }
    
    [data-theme="dark"] .goal-number {
        font-size: 2rem;
    }
    
    [data-theme="dark"] .goal-card h3 {
        font-size: 1.1rem;
    }
    
    [data-theme="dark"] .goal-card p {
        font-size: 0.9rem;
    }
}

/* Project Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

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

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

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 71, 161, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

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

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

.project-image {
    position: relative;
    height: 200px;
}

.project-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(13, 71, 161, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-info {
    padding: 2rem;
}

.project-location {
    color: #666;
    margin-bottom: 1rem;
}

.project-location i {
    color: #0d47a1;
    margin-right: 0.5rem;
}

.project-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-year {
    background: #f8f9fa;
    color: #0d47a1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
}

/* Reference Projects Dark Theme */
[data-theme="dark"] .reference-projects {
    background: var(--bg-primary);
}

[data-theme="dark"] .reference-projects h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .reference-projects .lead {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

[data-theme="dark"] .project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

[data-theme="dark"] .project-card:hover::before {
    left: 100%;
}

[data-theme="dark"] .project-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

[data-theme="dark"] .project-image {
    position: relative;
    height: 200px;
    background: var(--bg-tertiary);
}

[data-theme="dark"] .project-category {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .project-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .project-info h3 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

[data-theme="dark"] .project-location {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px var(--shadow-color);
}

[data-theme="dark"] .project-location i {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(88, 166, 255, 0.3);
    margin-right: 0.5rem;
}

[data-theme="dark"] .project-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px var(--shadow-color);
}

[data-theme="dark"] .project-year {
    background: var(--bg-tertiary);
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(88, 166, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px var(--shadow-color);
}

/* Reference Projects Responsive Design */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
    }
    
    .project-desc {
        font-size: 0.95rem;
    }
    
    [data-theme="dark"] .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    [data-theme="dark"] .project-card {
        margin-bottom: 1rem;
    }
    
    [data-theme="dark"] .project-image {
        height: 180px;
    }
    
    [data-theme="dark"] .project-info {
        padding: 1.5rem;
    }
    
    [data-theme="dark"] .project-info h3 {
        font-size: 1.2rem;
    }
    
    [data-theme="dark"] .project-desc {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    gap: 1rem;
}
    
    .project-card {
        margin-bottom: 0.5rem;
    }
    
    .project-image {
        height: 160px;
    }
    
    .project-info {
        padding: 1.25rem;
    }
    
    .project-info h3 {
        font-size: 1.1rem;
    }
    
    .project-desc {
        font-size: 0.9rem;
    }
    
    .project-category {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .project-year {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    [data-theme="dark"] .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    [data-theme="dark"] .project-card {
        margin-bottom: 0.5rem;
    }
    
    [data-theme="dark"] .project-image {
        height: 160px;
    }
    
    [data-theme="dark"] .project-info {
        padding: 1.25rem;
    }
    
    [data-theme="dark"] .project-info h3 {
        font-size: 1.1rem;
    }
    
    [data-theme="dark"] .project-desc {
        font-size: 0.9rem;
    }
    
    [data-theme="dark"] .project-category {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    [data-theme="dark"] .project-year {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}


.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

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

.partner-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 71, 161, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

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

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

.partner-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.partner-card:hover .partner-logo {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.3);
}

/* Partners Dark Theme */
[data-theme="dark"] .partners {
    background: var(--bg-primary);
}

[data-theme="dark"] .partners h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .partners .lead {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

[data-theme="dark"] .partner-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 15px;
}

[data-theme="dark"] .partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

[data-theme="dark"] .partner-card:hover::before {
    left: 100%;
}

[data-theme="dark"] .partner-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

[data-theme="dark"] .partner-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .partner-card:hover .partner-logo {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(88, 166, 255, 0.4);
}

[data-theme="dark"] .partner-card h4 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .partner-card p {
    color: var(--text-secondary);
    text-shadow: 0 1px 2px var(--shadow-color);
    font-size: 0.95rem;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Partners Responsive Design */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-logo {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .partner-card h4 {
        font-size: 1.1rem;
    }
    
    .partner-card p {
        font-size: 0.9rem;
    }
    
    [data-theme="dark"] .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
    
    [data-theme="dark"] .partner-card {
        padding: 1.5rem;
    }
    
    [data-theme="dark"] .partner-logo {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    [data-theme="dark"] .partner-card h4 {
        font-size: 1.1rem;
    }
    
    [data-theme="dark"] .partner-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .partner-card {
        padding: 1.25rem;
    }
    
    .partner-logo {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .partner-card h4 {
        font-size: 1rem;
    }
    
    .partner-card p {
        font-size: 0.85rem;
    }
    
    [data-theme="dark"] .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    [data-theme="dark"] .partner-card {
        padding: 1.25rem;
    }
    
    [data-theme="dark"] .partner-logo {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    [data-theme="dark"] .partner-card h4 {
        font-size: 1rem;
    }
    
    [data-theme="dark"] .partner-card p {
        font-size: 0.85rem;
    }
}

/* ========== ADMIN UPLOAD SECTION ========== */
.admin-upload-section {
    border-top: 3px solid #0d47a1;
    position: relative;
}

.admin-upload-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(13, 71, 161, 0.05) 10px,
        rgba(13, 71, 161, 0.05) 20px
    );
    pointer-events: none;
}

.upload-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(13, 71, 161, 0.1);
    position: relative;
    z-index: 2;
}

.certificate-upload-form {
    width: 100%;
}

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

.file-upload-area {
    margin: 2rem 0;
    position: relative;
}

.file-upload-area input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border: 2px dashed #0d47a1;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.05), rgba(33, 150, 243, 0.05));
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label:hover {
    border-color: #2196f3;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.1), rgba(33, 150, 243, 0.1));
    transform: translateY(-2px);
}

.file-upload-label i {
    font-size: 3rem;
    color: #0d47a1;
    margin-bottom: 1rem;
}

.file-upload-label span {
    font-size: 1.2rem;
    font-weight: 500;
    color: #0d47a1;
    margin-bottom: 0.5rem;
}

.file-upload-label small {
    color: #666;
    font-size: 0.9rem;
}

.upload-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ========== CERTIFICATE VIEWER BUTTON ========== */
.view-certificate-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.view-certificate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.view-certificate-btn i {
    font-size: 1rem;
}

/* ========== SECURE MODAL ========== */
.secure-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.secure-modal-content {
    position: relative;
    background: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    height: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.secure-modal-header {
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.secure-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.secure-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.secure-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.secure-modal-body {
    height: calc(100% - 80px);
    display: flex;
    flex-direction: column;
}

.security-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.security-warning i {
    color: #f39c12;
    font-size: 1.2rem;
}

.secure-document-container {
    flex: 1;
    position: relative;
    background: #f8f9fa;
}

.secure-document-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

/* Security Overlay - Prevents right-click and selection */
.security-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

/* Disable text selection and context menu */
.secure-document-container {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.secure-document-container * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Prevent drag and drop */
.secure-document-container img,
.secure-document-container iframe {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Hide scrollbars in secure mode */
.secure-document-container::-webkit-scrollbar {
    display: none;
}

.secure-document-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Watermark overlay */
.secure-document-container::after {
    content: 'IBAGLASS - CONFIDENTIAL';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 3rem;
    color: rgba(13, 71, 161, 0.1);
    font-weight: bold;
    pointer-events: none;
    z-index: 2;
    white-space: nowrap;
}

/* ========== RESPONSIVE DESIGN FOR SECURE MODAL ========== */
@media (max-width: 768px) {
    .secure-modal-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }
    
    .secure-modal-header {
        padding: 1rem;
    }
    
    .secure-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .security-warning {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }
    
    .upload-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .file-upload-label {
        padding: 2rem 1rem;
    }
    
    .file-upload-label i {
        font-size: 2rem;
    }
    
    .secure-document-container::after {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .upload-form-wrapper {
        padding: 2rem;
    }
    
    .secure-document-container::after {
        font-size: 1.5rem;
    }
    
    .file-upload-label span {
        font-size: 1rem;
    }
}

/* ========== MACHINERY GALLERY ========== */
.admin-machinery-upload {
    border-top: 3px solid #0d47a1;
    position: relative;
}

.admin-machinery-upload::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(13, 71, 161, 0.05) 10px,
        rgba(13, 71, 161, 0.05) 20px
    );
    pointer-events: none;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid rgba(13, 71, 161, 0.2);
    border-radius: 25px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.filter-btn i {
    font-size: 1rem;
}

/* Machinery Gallery Grid */
.machinery-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.machinery-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.machinery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.machinery-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
}

.machinery-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    border: 2px dashed #ddd;
    color: #666;
    transition: all 0.3s ease;
}

.machinery-image .image-placeholder i {
    font-size: 3rem;
    color: #0d47a1;
    margin-bottom: 1rem;
}

.machinery-image .image-placeholder p {
    font-weight: 500;
    font-size: 1.1rem;
}

.machinery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 71, 161, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.machinery-item:hover .machinery-overlay {
    opacity: 1;
    visibility: visible;
}

.view-machinery-btn,
.zoom-machinery-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    color: #0d47a1;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-machinery-btn:hover,
.zoom-machinery-btn:hover {
    background: #0d47a1;
    color: white;
    transform: scale(1.1);
}

.machinery-info {
    padding: 2rem;
}

.machinery-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.machinery-model {
    color: #0d47a1;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.machinery-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.machinery-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spec-tag {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.1), rgba(33, 150, 243, 0.1));
    color: #0d47a1;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(13, 71, 161, 0.2);
}

/* ========== MACHINERY MODAL ========== */
.machinery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.machinery-modal-content {
    position: relative;
    background: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    height: 80%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.machinery-modal-header {
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.machinery-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.machinery-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.machinery-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.machinery-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100% - 80px);
}

.machinery-modal-image {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px dashed #ddd;
    border-radius: 15px;
    color: #666;
}

.modal-image-placeholder i {
    font-size: 4rem;
    color: #0d47a1;
    margin-bottom: 1rem;
}

.machinery-modal-info {
    padding: 2rem;
    overflow-y: auto;
}

/* ========== IMAGE ZOOM MODAL ========== */
.image-zoom-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.zoom-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10002;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.zoom-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

#zoomImage {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ========== FILTER FUNCTIONALITY ========== */
.machinery-item.hidden {
    display: none;
}

.machinery-item.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .gallery-filters {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .machinery-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .machinery-modal-content {
        width: 95%;
        height: 90%;
        margin: 2.5% auto;
    }
    
    .machinery-modal-body {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    .machinery-modal-image {
        padding: 1rem;
    }
    
    .machinery-modal-info {
        padding: 1rem;
    }
    
    .zoom-close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .machinery-info {
        padding: 1.5rem;
    }
    
    .machinery-info h3 {
        font-size: 1.1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .spec-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .machinery-modal-header {
        padding: 1rem;
    }
    
    .machinery-modal-header h3 {
        font-size: 1.2rem;
    }
}

/* ========== ENHANCED HOMEPAGE STYLES ========== */

/* Hero Badge */
.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-badge i {
    color: #ffd700;
}

/* Highlight Text */
.highlight-text {
    background: linear-gradient(135deg, #ffd700, #ffeb3b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    min-width: 150px;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

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

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.service-features i {
    color: #28a745;
    font-size: 0.9rem;
}

.service-link {
    color: #0d47a1;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #2196f3;
    gap: 1rem;
}

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

.stat-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 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(13, 71, 161, 0.05), transparent);
    transition: left 0.5s ease;
}

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

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-suffix {
    font-size: 2rem;
    color: #0d47a1;
    font-weight: 700;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

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

/* Project Showcase */
.showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    height: 600px;
}

.showcase-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.showcase-item.large {
    grid-row: 1 / 3;
}

.showcase-item:hover {
    transform: scale(1.02);
}

.showcase-image {
    height: 60%;
    position: relative;
}

.showcase-item.large .showcase-image {
    height: 70%;
}

.showcase-content {
    padding: 1.5rem;
    height: 40%;
}

.showcase-item.large .showcase-content {
    height: 30%;
    padding: 2rem;
}

.project-category {
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.showcase-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.project-features {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.project-features span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #666;
}

.project-features i {
    color: #0d47a1;
}

.showcase-cta {
    text-align: center;
    margin-top: 3rem;
}


/* Why Choose Us */
.why-choose-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-badge {
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.advantages-list {
    margin-bottom: 2rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: rgba(13, 71, 161, 0.05);
    transform: translateX(5px);
}

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

.advantage-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.advantage-content p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

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

.quick-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(13, 71, 161, 0.05);
    padding: 1rem;
    border-radius: 10px;
    flex: 1;
}

.quick-contact i {
    font-size: 1.5rem;
    color: #0d47a1;
}

.quick-contact strong {
    display: block;
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.quick-contact span {
    color: #666;
    font-size: 0.9rem;
}

/* Visual Stats */
.why-choose-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.05), rgba(33, 150, 243, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(13, 71, 161, 0.1);
}

.visual-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.visual-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 0.5rem;
}

.visual-label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.2;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #0d47a1, #2196f3, #ffffff);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: ctaRotate 20s linear infinite;
}

.final-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-text {
    color: white;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cta-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.cta-feature i {
    font-size: 1.2rem;
    color: #ffd700;
}

.cta-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.quick-quote-form input,
.quick-quote-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.quick-quote-form input:focus,
.quick-quote-form textarea:focus {
    outline: none;
    border-color: #0d47a1;
}

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

.cta-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ========== REMOVED ADMIN PANEL STYLES ========== */

/* Admin Login Page */
.admin-login-body {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.9), rgba(33, 150, 243, 0.7), rgba(255, 255, 255, 0.9));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.admin-login-body::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>');
    opacity: 0.3;
}

.admin-login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.admin-login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.admin-login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.admin-logo {
    margin-bottom: 30px;
    position: relative;
}

.admin-logo i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.admin-logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 10px 0 5px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-logo p {
    color: #666;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Form Styles */
.admin-login-form {
    text-align: left;
    margin-top: 20px;
}

.admin-login-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.admin-login-form label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-login-form label i {
    color: #667eea;
    width: 18px;
    font-size: 16px;
}

.admin-login-form input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8ecf4;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.admin-login-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.admin-login-form .form-group.error input {
    border-color: #c62828;
    box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.1);
    background: rgba(255, 235, 238, 0.8);
}

.admin-login-form .form-group.error label {
    color: #c62828;
}

.field-error {
    color: #c62828;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.admin-login-form input::placeholder {
    color: #a0a0a0;
    font-weight: 400;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 50%;
}

.password-toggle:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.error-message {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border: 1px solid #f8bbd9;
    color: #c62828;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.1);
    line-height: 1.5;
}

.error-message a {
    color: #0d47a1;
    text-decoration: underline;
    font-weight: 600;
}

.error-message a:hover {
    color: #1976d2;
    text-decoration: none;
}

.error-message small {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    opacity: 0.8;
    font-family: 'Courier New', monospace;
}

.success-message {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border: 1px solid #a5d6a7;
    color: #2e7d32;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.remember-me:hover {
    color: #667eea;
}

.remember-me input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e8ecf4;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.remember-me input:checked + .checkmark {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    transform: scale(1.05);
}

.remember-me input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.admin-login-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.admin-login-btn::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;
}

.admin-login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

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

.admin-login-btn:active {
    transform: translateY(-1px);
}

.admin-login-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

.security-info i {
    color: #4caf50;
    font-size: 16px;
}

.back-to-site {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid #667eea;
    border-radius: 25px;
    margin-bottom: 15px;
}

.back-to-site:hover {
    color: white;
    background: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.login-links {
    margin-top: 20px;
}

.user-login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 20px;
    border: 1px solid #e8ecf4;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.user-login-link:hover {
    color: #667eea;
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-1px);
}

.admin-features {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.admin-features h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
    padding: 12px 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.feature-list li:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    color: #667eea;
}

.feature-list li i {
    color: #667eea;
    width: 18px;
    font-size: 16px;
}

/* Admin Login Link in Header */
.admin-login-link {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white !important;
    border: none;
    font-size: 13px;
    padding: 8px 12px;
    margin-left: 8px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.admin-login-link:hover {
    background: linear-gradient(135deg, #ee5a52, #e74c3c);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 90, 82, 0.3);
}

/* Responsive Admin Login */
@media (max-width: 768px) {
    .admin-login-container {
        padding: 15px;
    }
    
    .admin-login-card {
        padding: 30px 20px;
    }
    
    .admin-logo h1 {
        font-size: 24px;
    }
    
    .admin-logo i {
        font-size: 40px;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .admin-login-link {
        font-size: 12px;
        padding: 6px 10px;
        margin-left: 5px;
    }
    
    .admin-login-form input {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .admin-login-btn {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .back-to-site {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .user-login-link {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .admin-login-body {
        padding: 10px;
    }
    
    .admin-login-card {
        padding: 25px 15px;
        border-radius: 20px;
    }
    
    .admin-logo h1 {
        font-size: 22px;
    }
    
    .admin-logo p {
        font-size: 14px;
    }
    
    .admin-login-form label {
        font-size: 13px;
    }
    
    .admin-login-form input {
        padding: 12px;
        font-size: 15px;
    }
    
    .admin-login-btn {
        padding: 14px 18px;
        font-size: 14px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .remember-me {
        font-size: 13px;
    }
    
    .feature-list li {
        font-size: 12px;
        padding: 10px 12px;
    }
}

/* Admin Dashboard */
.admin-dashboard {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 2rem 0;
}

.admin-header {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    color: #0d47a1;
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
}

/* Admin Navigation */
.admin-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.admin-nav-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.admin-nav-btn:hover,
.admin-nav-btn.active {
    background: #0d47a1;
    color: white;
    border-color: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
}

/* Admin Sections */
.admin-section {
    display: none;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admin-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.section-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.section-header h2 {
    color: #0d47a1;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-header p {
    color: #666;
    margin: 0;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-stats .stat-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.dashboard-stats .stat-card:hover {
    border-color: #0d47a1;
    transform: translateY(-2px);
}

.dashboard-stats .stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0d47a1;
    margin: 0;
}

.stat-info p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Recent Activity */
.recent-activity {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
}

.recent-activity h3 {
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #0d47a1;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #0d47a1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.activity-content p {
    margin: 0 0 0.2rem 0;
    color: #333;
    font-size: 0.95rem;
}

.activity-content small {
    color: #666;
    font-size: 0.8rem;
}

/* Content Management */
.content-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover,
.tab-btn.active {
    background: #0d47a1;
    color: white;
    border-color: #0d47a1;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.editor-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.editor-section h4 {
    color: #0d47a1;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #0d47a1;
}

.upload-form-grid,
.project-form-grid,
.certificate-form-grid,
.machinery-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Service Editor */
.services-editor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
}

.service-item h5 {
    color: #0d47a1;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Image Gallery Admin */
.image-filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-tab:hover,
.filter-tab.active {
    background: #0d47a1;
    color: white;
    border-color: #0d47a1;
}

.admin-image-grid,
.projects-admin-grid,
.certificates-admin-grid,
.machinery-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.admin-item-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.admin-item-card:hover {
    border-color: #0d47a1;
    transform: translateY(-2px);
}

.admin-item-image {
    height: 150px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 2rem;
}

.admin-item-content {
    padding: 1rem;
}

.admin-item-content h5 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.admin-item-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.admin-item-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-edit {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-edit:hover {
    background: #218838;
}

.btn-delete {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-delete:hover {
    background: #c82333;
}

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

.delete-modal-content {
    position: relative;
    background: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.delete-modal-header {
    background: #dc3545;
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.delete-modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.delete-modal-body {
    padding: 2rem;
    text-align: center;
}

.delete-modal-body p {
    margin-bottom: 1rem;
    color: #666;
}

.warning-text {
    color: #dc3545;
    font-weight: 600;
    font-size: 0.9rem;
}

.delete-modal-footer {
    padding: 1.5rem;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-danger {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-danger:hover {
    background: #c82333;
}

/* Contact Info Editor */
.contact-info-editor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* User Management Styles */
.user-tabs,
.product-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.users-stats .stat-card {
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.users-stats .stat-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.users-stats .stat-card span {
    font-size: 2rem;
    font-weight: 700;
}

.users-grid,
.admin-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.admin-form-grid,
.product-form-grid,
.category-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Product Management Styles */
.products-filter,
.quotes-filter,
.logs-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.products-filter select,
.quotes-filter select,
.logs-filter select,
.logs-filter input {
    min-width: 200px;
    padding: 0.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Category Management */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Quote Management */
.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* System Logs */
.logs-controls {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 2px solid #e0e0e0;
}

.logs-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: end;
}

.logs-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.delete-options {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.custom-date-range {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.custom-date-range input {
    min-width: 150px;
}

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

.log-stat-card {
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
}

.log-stat-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-weight: 500;
}

.log-stat-card span {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.logs-list {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1rem;
    background: white;
}

.log-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.log-item:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.log-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.log-content {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.log-type {
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: rgba(13, 71, 161, 0.1);
}

.log-time {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.log-description {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.log-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #666;
    flex-wrap: wrap;
}

.log-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.log-meta i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.logs-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.pagination-info {
    font-size: 0.9rem;
    color: #666;
}

/* Enhanced Loading States */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 8px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0d47a1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Action Buttons */
.btn-toggle {
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-left: 0.5rem;
}

.btn-toggle:hover {
    background: #138496;
}

/* Status Indicators */
.status-active {
    color: #28a745;
    font-weight: 600;
}

.status-inactive {
    color: #dc3545;
    font-weight: 600;
}

.status-pending {
    color: #ffc107;
    font-weight: 600;
}

/* Loading States */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0d47a1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Admin Item Cards */
.admin-item-card {
    position: relative;
    overflow: hidden;
}

.admin-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 71, 161, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.admin-item-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-item-actions button {
    flex: 1;
    min-width: 80px;
}

/* ========== WHATSAPP INTEGRATION ========== */

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #25d366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-btn i {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.whatsapp-text {
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* WhatsApp Button Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-btn {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
        padding: 0;
    }
    
    .whatsapp-btn i {
        font-size: 1.8rem;
    }
}

/* WhatsApp Button in CTAs */
.btn .fab.fa-whatsapp {
    color: #25d366;
    margin-right: 0.5rem;
}

.btn-white .fab.fa-whatsapp {
    color: #25d366;
}

.btn-primary .fab.fa-whatsapp {
    color: white;
}

.btn-outline .fab.fa-whatsapp {
    color: #25d366;
}

/* WhatsApp Hover Effects */
.btn:hover .fab.fa-whatsapp {
    animation: bounce 0.6s ease;
}

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

/* Responsive Admin Panel */
@media (max-width: 768px) {
    .admin-login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .admin-nav {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .admin-nav-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .upload-form-grid,
    .project-form-grid,
    .certificate-form-grid,
    .machinery-form-grid {
        grid-template-columns: 1fr;
    }
    
    .content-tabs {
        flex-direction: column;
    }
    
    .services-editor {
        grid-template-columns: 1fr;
    }
    
    .contact-info-editor {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .admin-dashboard {
        padding: 1rem 0;
    }
    
    .admin-section {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .admin-header {
        padding: 1.5rem;
        margin: 0 1rem 2rem;
    }
    
    .admin-nav {
        margin: 0 1rem 2rem;
    }
    
    .admin-nav-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ========== AUTH SYSTEM STYLES ========== */

/* Auth Container */
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.auth-form-wrapper,
.register-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

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

.form-header p {
    color: #666;
    margin: 0 0 1rem 0;
}

.login-types {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.login-type-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: #666;
}

.login-type-info i {
    width: 20px;
    color: #0d47a1;
    font-size: 1rem;
}

/* Nav Auth Styles */
.admin-badge {
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.3);
}

.admin-badge i {
    color: #ffd700;
}

.admin-login-link {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-login-link:hover {
    background: linear-gradient(135deg, #ee5a52, #e74c3c);
    transform: translateY(-1px);
}

/* Nav Auth Styles */
.admin-badge {
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.admin-badge i {
    color: #ffd700;
}

.user-welcome {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
    padding: 0.5rem;
}

.user-welcome i {
    color: #0d47a1;
}

.auth-form,
.register-form {
    width: 100%;
}

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

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-wrapper .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-wrapper input:checked + .checkmark {
    background: #0d47a1;
    border-color: #0d47a1;
}

.checkbox-wrapper input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    color: white;
    font-size: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.forgot-link,
.terms-link,
.register-link,
.login-link {
    color: #0d47a1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-link:hover,
.terms-link:hover,
.register-link:hover,
.login-link:hover {
    color: #2196f3;
}

.auth-btn,
.register-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.form-footer p {
    color: #666;
    margin: 0;
}

/* Social Login */
.social-login {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.social-login p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn.google:hover {
    border-color: #db4437;
    color: #db4437;
}

.social-btn.facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
}

/* Auth Benefits */
.auth-benefits,
.register-benefits {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.05), rgba(33, 150, 243, 0.05));
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(13, 71, 161, 0.1);
}

.auth-benefits h3,
.register-benefits h3 {
    color: #0d47a1;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 1.5rem;
    color: #0d47a1;
    width: 30px;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
}

.benefit-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Error and Success Messages */
.error-message,
.success-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.success-message {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
}

/* Responsive Auth */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .register-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .auth-form-wrapper,
    .register-form-wrapper {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-btn {
        justify-content: center;
    }
}

/* ========== SIMPLIFIED SECTIONS ========== */

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

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

.showcase-simple-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 71, 161, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

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

.showcase-simple-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.showcase-simple-item .showcase-image {
    height: 180px;
    position: relative;
    z-index: 2;
}

.showcase-simple-item .showcase-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.showcase-simple-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.showcase-simple-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Project Showcase Dark Theme */
[data-theme="dark"] .project-showcase {
    background: var(--bg-primary);
}

[data-theme="dark"] .project-showcase h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .project-showcase .lead {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .showcase-simple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

[data-theme="dark"] .showcase-simple-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

[data-theme="dark"] .showcase-simple-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

[data-theme="dark"] .showcase-simple-item:hover::before {
    left: 100%;
}

[data-theme="dark"] .showcase-simple-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

[data-theme="dark"] .showcase-simple-item .showcase-image {
    height: 180px;
    background: var(--bg-tertiary);
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .showcase-simple-item .showcase-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .showcase-simple-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .showcase-simple-item p {
    color: var(--text-secondary);
    text-shadow: 0 1px 2px var(--shadow-color);
    font-size: 0.95rem;
}

[data-theme="dark"] .showcase-simple-item .image-placeholder {
    background: var(--bg-quaternary);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .showcase-simple-item .image-placeholder i {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .showcase-cta {
    text-align: center;
    margin-top: 3rem;
}

[data-theme="dark"] .showcase-cta .btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border: none;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
    transition: all 0.3s ease;
}

[data-theme="dark"] .showcase-cta .btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.4);
}

/* Project Showcase Responsive Design */
@media (max-width: 768px) {
    .showcase-simple-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .showcase-simple-item {
        margin-bottom: 1rem;
    }
    
    .showcase-simple-item .showcase-image {
        height: 160px;
    }
    
    .showcase-simple-item .showcase-content {
        padding: 1.25rem;
    }
    
    .showcase-simple-item h3 {
        font-size: 1.1rem;
    }
    
    .showcase-simple-item p {
        font-size: 0.9rem;
    }
    
    [data-theme="dark"] .showcase-simple-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    [data-theme="dark"] .showcase-simple-item {
        margin-bottom: 1rem;
    }
    
    [data-theme="dark"] .showcase-simple-item .showcase-image {
        height: 160px;
    }
    
    [data-theme="dark"] .showcase-simple-item .showcase-content {
        padding: 1.25rem;
    }
    
    [data-theme="dark"] .showcase-simple-item h3 {
        font-size: 1.1rem;
    }
    
    [data-theme="dark"] .showcase-simple-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .showcase-simple-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .showcase-simple-item {
        margin-bottom: 0.5rem;
    }
    
    .showcase-simple-item .showcase-image {
        height: 140px;
    }
    
    .showcase-simple-item .showcase-content {
        padding: 1rem;
    }
    
    .showcase-simple-item h3 {
        font-size: 1rem;
    }
    
    .showcase-simple-item p {
        font-size: 0.85rem;
    }
    
    [data-theme="dark"] .showcase-simple-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    [data-theme="dark"] .showcase-simple-item {
        margin-bottom: 0.5rem;
    }
    
    [data-theme="dark"] .showcase-simple-item .showcase-image {
        height: 140px;
    }
    
    [data-theme="dark"] .showcase-simple-item .showcase-content {
        padding: 1rem;
    }
    
    [data-theme="dark"] .showcase-simple-item h3 {
        font-size: 1rem;
    }
    
    [data-theme="dark"] .showcase-simple-item p {
        font-size: 0.85rem;
    }
}

/* Simplified Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card .advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d47a1, #2196f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.advantage-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.advantage-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Simplified Final CTA */
.final-cta-content {
    text-align: center;
    color: white;
}

.final-cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.final-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.9), rgba(33, 150, 243, 0.7), rgba(255, 255, 255, 0.9));
    color: white;
    text-align: center;
    padding: 120px 0 100px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #e3f2fd, #bbdefb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        background: linear-gradient(135deg, #ffffff, #e3f2fd, #bbdefb);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    50% {
        background: linear-gradient(135deg, #bbdefb, #ffffff, #e3f2fd);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
}

/* ========== CORPORATE MENU ========== */
.corporate-menu {
    margin-top: 2rem;
    position: relative;
}

.menu-slider {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.menu-btn::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 ease;
}

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

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.menu-btn i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.menu-btn:hover i {
    transform: scale(1.1);
}

.menu-btn span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

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

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

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

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ========== VISION/MISSION SECTION ========== */
.bg-light {
    background: #f8f9fa;
}

/* Quality Section Dark Theme */
[data-theme="dark"] .quality-section {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .quality-section h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .quality-section .lead {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .quality-feature h4 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .quality-feature p {
    color: var(--text-secondary);
    line-height: 1.7;
}

[data-theme="dark"] .quality-feature i {
    color: var(--success-color);
    text-shadow: 0 0 10px rgba(63, 185, 80, 0.3);
}

[data-theme="dark"] .quality-image .image-placeholder {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .quality-image .image-placeholder i {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(88, 166, 255, 0.3);
}

/* Background Light Dark Theme */
[data-theme="dark"] .bg-light {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Vision Mission Dark Theme */
[data-theme="dark"] .vision-mission-main {
    background: var(--bg-primary);
}

[data-theme="dark"] .vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

[data-theme="dark"] .vm-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

[data-theme="dark"] .vm-card:hover::before {
    left: 100%;
}

[data-theme="dark"] .vm-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 45px var(--shadow-hover);
}

[data-theme="dark"] .vm-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .vm-card:hover .vm-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(88, 166, 255, 0.4);
}

[data-theme="dark"] .vm-icon i {
    color: white;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

[data-theme="dark"] .vm-card:hover .vm-icon i {
    transform: rotate(5deg);
}

[data-theme="dark"] .vm-card h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .vm-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px var(--shadow-color);
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .vm-goals {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .goal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .goal-item:hover {
    transform: translateX(5px);
    border-color: var(--border-hover);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

[data-theme="dark"] .goal-item i {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
    font-size: 1.2rem;
    width: 20px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .goal-item:hover i {
    color: var(--accent-hover);
    text-shadow: 0 0 15px rgba(88, 166, 255, 0.5);
    transform: scale(1.1);
}

[data-theme="dark"] .goal-item span {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 500;
    flex: 1;
}

/* Vision Mission Dark Theme - Legacy Support */
[data-theme="dark"] .vision-card,
[data-theme="dark"] .mission-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-color);
}

[data-theme="dark"] .vision-card h3,
[data-theme="dark"] .mission-card h3 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .vision-card p,
[data-theme="dark"] .mission-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .vision-card i,
[data-theme="dark"] .mission-card i {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(88, 166, 255, 0.3);
}

/* Vision Mission Responsive Design */
@media (max-width: 768px) {
    [data-theme="dark"] .vm-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    [data-theme="dark"] .vm-card {
        padding: 2rem 1.5rem;
    }
    
    [data-theme="dark"] .vm-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    [data-theme="dark"] .vm-icon i {
        font-size: 1.5rem;
    }
    
    [data-theme="dark"] .vm-card h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    [data-theme="dark"] .vm-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    [data-theme="dark"] .goal-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    [data-theme="dark"] .goal-item i {
        font-size: 1rem;
        width: 16px;
    }
    
    [data-theme="dark"] .goal-item span {
        font-size: 0.9rem;
    }
}

.vision-card, .mission-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
}

.vision-icon, .mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #0d47a1, #2196f3, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.vision-card h3, .mission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.vision-card p, .mission-card p {
    color: #666;
    line-height: 1.6;
}

/* ========== PRODUCTS SECTION ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

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

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

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-image .placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #6c757d;
}

.product-image .placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.product-image .placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.product-info {
    padding: 2rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ========== FOOTER ========== */
.footer {
    background: #f8f9fa;
    color: #333;
    padding: 40px 0 20px;
    border-top: 1px solid #e9ecef;
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

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

.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: #333;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #dee2e6;
    color: #333;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
    text-align: center;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.safir-media-credit {
    margin: 0;
    font-size: 0.9rem;
}

.safir-media-credit a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.safir-media-credit a:hover {
    color: #0056b3;
    text-decoration: underline;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
}

/* ========== ACCESSIBILITY ========== */

.keyboard-navigation *:focus {
    outline: 2px solid #0d47a1;
    outline-offset: 2px;
}

/* ========== ADDITIONAL UTILITY CLASSES ========== */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

/* ========== CONTACT SECTION ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-wrapper, .contact-info-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h3, .contact-info-wrapper h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}



/* Contact Info Styles */
.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #666;
}

.contact-info i {
    width: 20px;
    color: #0d47a1;
    font-size: 1.2rem;
}

.contact-map {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    color: #666;
}


/* ========== THEME TOGGLE BUTTON ========== */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    margin-left: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.theme-toggle:active {
    transform: translateY(-1px) scale(0.98);
}

.theme-toggle-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-icon {
    position: absolute;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.sun-icon {
    color: #ffffff;
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.moon-icon {
    color: #1a1a1a;
    opacity: 0;
    transform: scale(0.5) rotate(180deg);
}

/* Dark mode styles */
[data-theme="dark"] .theme-toggle {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .theme-toggle:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Dark theme variables */
[data-theme="dark"] {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --bg-quaternary: #30363d;
    --text-primary: #f0f6fc;
    --text-secondary: #c9d1d9;
    --text-muted: #8b949e;
    --text-accent: #58a6ff;
    --border-color: #30363d;
    --border-hover: #58a6ff;
    --shadow-color: rgba(0, 0, 0, 0.8);
    --shadow-hover: rgba(0, 0, 0, 0.9);
    --accent-color: #58a6ff;
    --accent-hover: #79c0ff;
    --success-color: #3fb950;
    --warning-color: #d29922;
    --danger-color: #f85149;
    --info-color: #58a6ff;
}

/* Light theme variables (default) */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --accent-color: #667eea;
    --accent-hover: #5a6fd8;
}

/* Apply theme variables to body */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Smooth theme transition */
body.theme-transitioning * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Header dark theme */
[data-theme="dark"] .header {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(13, 17, 23, 0.98);
    box-shadow: 0 2px 20px var(--shadow-color);
}

[data-theme="dark"] .nav-logo {
    color: var(--text-primary);
}

[data-theme="dark"] .logo-img {
    filter: drop-shadow(0 4px 15px rgba(88, 166, 255, 0.3));
}

[data-theme="dark"] .nav-logo:hover .logo-img {
    filter: drop-shadow(0 6px 20px rgba(88, 166, 255, 0.4));
}

[data-theme="dark"] .logo-text {
    background: linear-gradient(135deg, #f0f6fc, #c9d1d9, #58a6ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .nav-logo:hover .logo-text {
    background: linear-gradient(135deg, #58a6ff, #79c0ff, #f0f6fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .nav-link {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .nav-link:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

[data-theme="dark"] .dropdown-menu {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--accent-color);
    transform: translateX(5px);
}

[data-theme="dark"] .dropdown-item i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* Main content dark theme */
[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(88, 166, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(88, 166, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

[data-theme="dark"] .hero h1 {
    background: linear-gradient(45deg, #f0f6fc, #c9d1d9, #58a6ff, #79c0ff, #4493f8, #f0f6fc, #c9d1d9, #58a6ff);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .hero p {
    color: var(--text-secondary);
    text-shadow: 0 1px 4px var(--shadow-color);
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .section {
    background: var(--bg-primary);
    position: relative;
}

[data-theme="dark"] .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

[data-theme="dark"] .section h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
    position: relative;
}

[data-theme="dark"] .section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 2px;
}

[data-theme="dark"] .section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .section h3 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .section h4 {
    color: var(--text-secondary);
}

[data-theme="dark"] .section h5,
[data-theme="dark"] .section h6 {
    color: var(--text-muted);
}

/* Cards dark theme */
[data-theme="dark"] .card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-hover);
    border-color: var(--border-hover);
}

[data-theme="dark"] .card:hover::before {
    opacity: 1;
}

[data-theme="dark"] .card h3 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

[data-theme="dark"] .card h4 {
    color: var(--text-secondary);
}

[data-theme="dark"] .card h5,
[data-theme="dark"] .card h6 {
    color: var(--text-muted);
}

/* Buttons dark theme */
[data-theme="dark"] .btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .btn::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 ease;
}

[data-theme="dark"] .btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.4);
}

[data-theme="dark"] .btn:hover::before {
    left: 100%;
}

[data-theme="dark"] .btn:active {
    transform: translateY(0);
}

[data-theme="dark"] .btn-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.2);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.4);
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

[data-theme="dark"] .btn-primary:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Forms dark theme */
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
    background: var(--bg-secondary);
}

[data-theme="dark"] .form-group input:hover,
[data-theme="dark"] .form-group textarea:hover {
    border-color: var(--border-hover);
}

[data-theme="dark"] .form-group label {
    color: var(--text-secondary);
    font-weight: 500;
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

/* Footer dark theme */
[data-theme="dark"] .footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    position: relative;
}

[data-theme="dark"] .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

[data-theme="dark"] .footer h3 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .footer p,
[data-theme="dark"] .footer a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

[data-theme="dark"] .footer a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
    transform: translateX(3px);
}

/* Additional dark theme elements */
[data-theme="dark"] .container {
    background: transparent;
}

[data-theme="dark"] .navbar {
    background: transparent;
}

[data-theme="dark"] .nav-menu {
    background: transparent;
}

[data-theme="dark"] .nav-item {
    background: transparent;
}

[data-theme="dark"] .hamburger .bar {
    background: var(--text-primary);
    box-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .hamburger:hover .bar {
    background: var(--accent-color);
}

/* Loading screen dark theme */
[data-theme="dark"] #loading-screen {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
}

[data-theme="dark"] .loading-logo .logo-text {
    color: var(--text-primary);
    text-shadow: 0 4px 8px var(--shadow-color);
}

[data-theme="dark"] .loading-logo .line {
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

[data-theme="dark"] .loading-logo .underline-segment {
    background: var(--accent-color);
}


/* Machinery gallery dark theme */
[data-theme="dark"] .machinery-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-color);
}

[data-theme="dark"] .machinery-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

[data-theme="dark"] .machinery-item h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .machinery-item p {
    color: var(--text-secondary);
}

/* Filter buttons dark theme */
[data-theme="dark"] .filter-btn {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .filter-btn:hover {
    background: var(--bg-quaternary);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

[data-theme="dark"] .filter-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

/* Modal dark theme */
[data-theme="dark"] .modal {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px var(--shadow-color);
}

[data-theme="dark"] .modal-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .modal-title {
    color: var(--text-primary);
}

[data-theme="dark"] .modal-body {
    color: var(--text-secondary);
}

[data-theme="dark"] .modal-footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

/* Close button dark theme */
[data-theme="dark"] .close {
    color: var(--text-muted);
    text-shadow: none;
}

[data-theme="dark"] .close:hover {
    color: var(--text-primary);
}

/* Badge dark theme */
[data-theme="dark"] .badge {
    background: var(--bg-quaternary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .badge.badge-primary {
    background: var(--accent-color);
    color: white;
}

[data-theme="dark"] .badge.badge-success {
    background: var(--success-color);
    color: white;
}

[data-theme="dark"] .badge.badge-warning {
    background: var(--warning-color);
    color: white;
}

[data-theme="dark"] .badge.badge-danger {
    background: var(--danger-color);
    color: white;
}

/* Alert dark theme */
[data-theme="dark"] .alert {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .alert.alert-success {
    background: rgba(63, 185, 80, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

[data-theme="dark"] .alert.alert-warning {
    background: rgba(210, 153, 34, 0.1);
    border-color: var(--warning-color);
    color: var(--warning-color);
}

[data-theme="dark"] .alert.alert-danger {
    background: rgba(248, 81, 73, 0.1);
    border-color: var(--danger-color);
    color: var(--danger-color);
}

[data-theme="dark"] .alert.alert-info {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--info-color);
    color: var(--info-color);
}

/* Additional Dark Theme Sections */
[data-theme="dark"] .stats-section {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .stats-section .stat-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

[data-theme="dark"] .stats-section .stat-number {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .stats-section .stat-label {
    color: var(--text-secondary);
}

/* Stat Cards Dark Theme */
[data-theme="dark"] .stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

[data-theme="dark"] .stat-card:hover::before {
    left: 100%;
}

[data-theme="dark"] .stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 45px var(--shadow-hover);
}

[data-theme="dark"] .stat-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .stat-icon i {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .stat-number {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(88, 166, 255, 0.4);
    font-weight: 700;
}

[data-theme="dark"] .stat-suffix {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .stat-label {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 600;
}

[data-theme="dark"] .stat-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Project Stats Dark Theme */
[data-theme="dark"] .project-stats {
    background: var(--bg-primary);
}

[data-theme="dark"] .project-stats .stat-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .project-stats .stat-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

[data-theme="dark"] .project-stats .stat-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .project-stats .stat-icon i {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .project-stats .stat-number {
    color: var(--accent-color);
    text-shadow: 0 0 12px rgba(88, 166, 255, 0.4);
    font-weight: 700;
}

[data-theme="dark"] .project-stats .stat-label {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 600;
}

/* Team Stats Dark Theme */
[data-theme="dark"] .team-stats .stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .team-stats .stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

[data-theme="dark"] .team-stats .stat-number {
    color: var(--accent-color);
    text-shadow: 0 0 12px rgba(88, 166, 255, 0.4);
    font-weight: 700;
}

[data-theme="dark"] .team-stats .stat-label {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 600;
}

/* Values Section Dark Theme */
[data-theme="dark"] .values-section {
    background: var(--bg-primary) !important;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .values-section h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .values-section .lead {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .value-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

[data-theme="dark"] .value-card:hover::before {
    left: 100%;
}

[data-theme="dark"] .value-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 45px var(--shadow-hover);
}

[data-theme="dark"] .value-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .value-icon i {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .value-card h3 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

[data-theme="dark"] .value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    text-shadow: 0 1px 2px var(--shadow-color);
}

/* Core Values Dark Theme */
[data-theme="dark"] .core-values {
    background: var(--bg-primary) !important;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .core-values h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .core-values .lead {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .timeline-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .timeline-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 45px var(--shadow-hover);
}

[data-theme="dark"] .timeline-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .timeline-icon i {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .timeline-content h3 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 600;
}

[data-theme="dark"] .timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    text-shadow: 0 1px 2px var(--shadow-color);
}

/* Company Timeline Styles */
.company-timeline {
    background: var(--bg-primary);
    position: relative;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-color), var(--accent-hover));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-section {
    margin-bottom: 4rem;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 200px;
}

.timeline-section:nth-child(odd) {
    flex-direction: row;
}

.timeline-section:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border: 4px solid var(--bg-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    box-shadow: 0 0 0 4px var(--accent-color);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.3);
}

.timeline-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 45%;
    margin: 0 2.5%;
    z-index: 2;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-section:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: white;
    transform: translateY(-50%);
}

.timeline-section:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: white;
    transform: translateY(-50%);
}

.timeline-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-3px);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.achievement-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.achievement-text p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.investments-timeline {
    margin-top: 2rem;
}

.investments-timeline h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.investment-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.investment-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.investment-item.future {
    border-left-color: #ffd700;
    background: linear-gradient(135deg, #fff9e6, #f8f9fa);
}

.investment-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    min-width: 80px;
    text-align: center;
}

.investment-item.future .investment-year {
    color: #ff8c00;
}

.investment-desc {
    color: #666;
    line-height: 1.5;
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-section {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-section::before {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: 100%;
        margin: 0;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .investment-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .investment-year {
        min-width: auto;
    }
}

/* Company Timeline Dark Theme */
[data-theme="dark"] .company-timeline {
    background: var(--bg-primary);
}

[data-theme="dark"] .timeline-container::before {
    background: linear-gradient(180deg, var(--accent-color), var(--accent-hover));
}

[data-theme="dark"] .timeline-section::before {
    background: var(--accent-color);
    border-color: var(--bg-primary);
    box-shadow: 0 0 0 4px var(--accent-color);
}

[data-theme="dark"] .timeline-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .timeline-header h3 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px var(--shadow-color);
    z-index: 2;
}

[data-theme="dark"] .timeline-section:nth-child(odd) .timeline-content::before {
    border-left-color: var(--bg-secondary);
}

[data-theme="dark"] .timeline-section:nth-child(even) .timeline-content::before {
    border-right-color: var(--bg-secondary);
}

[data-theme="dark"] .timeline-content p {
    color: var(--text-secondary);
    text-shadow: 0 1px 2px var(--shadow-color);
}

[data-theme="dark"] .achievement-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .achievement-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

[data-theme="dark"] .achievement-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .achievement-text h4 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .achievement-text p {
    color: var(--text-secondary);
    text-shadow: 0 1px 2px var(--shadow-color);
}

[data-theme="dark"] .investments-timeline h4 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .investment-item {
    background: var(--bg-tertiary);
    border-left-color: var(--accent-color);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .investment-item:hover {
    transform: translateX(5px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

[data-theme="dark"] .investment-item.future {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), var(--bg-tertiary));
    border-left-color: #ffd700;
}

[data-theme="dark"] .investment-year {
    color: var(--accent-color);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .investment-item.future .investment-year {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

[data-theme="dark"] .investment-desc {
    color: var(--text-secondary);
    text-shadow: 0 1px 2px var(--shadow-color);
}

/* Certificates Section Dark Theme */
[data-theme="dark"] .certificates-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .certificates-section h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .certificates-section .lead {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .certificate-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

[data-theme="dark"] .certificate-card:hover::before {
    left: 100%;
}

[data-theme="dark"] .certificate-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

[data-theme="dark"] .certificate-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .certificate-icon i {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .certificate-title {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .certificate-type {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .certificate-description {
    color: var(--text-secondary);
    line-height: 1.6;
    text-shadow: 0 1px 2px var(--shadow-color);
    margin-bottom: 1rem;
}

[data-theme="dark"] .certificate-validity {
    color: var(--success-color);
    text-shadow: 0 0 8px rgba(63, 185, 80, 0.3);
    font-weight: 500;
    font-size: 0.9rem;
    background: rgba(63, 185, 80, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(63, 185, 80, 0.2);
    display: inline-block;
}

[data-theme="dark"] .certificate-validity i {
    margin-right: 0.5rem;
    color: var(--success-color);
}

/* Certificate Grid Dark Theme */
[data-theme="dark"] .certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

[data-theme="dark"] .certificate-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .certificate-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 45px var(--shadow-hover);
}

[data-theme="dark"] .certificate-header {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .certificate-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

[data-theme="dark"] .certificate-item:hover .certificate-header::before {
    left: 100%;
}

[data-theme="dark"] .certificate-header h3 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .certificate-header .cert-type {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
    font-weight: 500;
}

[data-theme="dark"] .certificate-body {
    padding: 2rem;
}

[data-theme="dark"] .certificate-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-shadow: 0 1px 2px var(--shadow-color);
    margin-bottom: 1rem;
}

[data-theme="dark"] .certificate-footer {
    background: var(--bg-tertiary);
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

[data-theme="dark"] .certificate-footer .validity {
    color: var(--success-color);
    text-shadow: 0 0 8px rgba(63, 185, 80, 0.3);
    font-weight: 500;
    font-size: 0.9rem;
}

[data-theme="dark"] .certificate-footer .validity i {
    margin-right: 0.5rem;
    color: var(--success-color);
}

/* ISO Certificate Special Styling */
[data-theme="dark"] .certificate-item.iso-certificate .certificate-header {
    background: linear-gradient(135deg, #1976d2, #42a5f5);
}

[data-theme="dark"] .certificate-item.authority-certificate .certificate-header {
    background: linear-gradient(135deg, #388e3c, #66bb6a);
}

[data-theme="dark"] .certificate-item.quality-certificate .certificate-header {
    background: linear-gradient(135deg, #f57c00, #ffb74d);
}

/* TSE Certificate Special Styling */
[data-theme="dark"] .certificate-item.tse-certificate .certificate-header {
    background: linear-gradient(135deg, #d32f2f, #f44336);
}

[data-theme="dark"] .certificate-item.tse-certificate .certificate-icon {
    background: linear-gradient(135deg, #d32f2f, #f44336);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
}

[data-theme="dark"] .certificate-item.tse-certificate .certificate-type {
    color: #f44336;
    text-shadow: 0 0 10px rgba(244, 67, 54, 0.3);
}

/* Marka Patenti Special Styling */
[data-theme="dark"] .certificate-item.trademark-certificate .certificate-header {
    background: linear-gradient(135deg, #7b1fa2, #9c27b0);
}

[data-theme="dark"] .certificate-item.trademark-certificate .certificate-icon {
    background: linear-gradient(135deg, #7b1fa2, #9c27b0);
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.3);
}

[data-theme="dark"] .certificate-item.trademark-certificate .certificate-type {
    color: #9c27b0;
    text-shadow: 0 0 10px rgba(156, 39, 176, 0.3);
}

/* Light Mode Certificate Special Styling */
.certificate-card.tse-certificate .certificate-icon {
    background: linear-gradient(135deg, #d32f2f, #f44336);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
}

.certificate-card.tse-certificate .certificate-type {
    color: #d32f2f;
    font-weight: 600;
}

.certificate-card.trademark-certificate .certificate-icon {
    background: linear-gradient(135deg, #7b1fa2, #9c27b0);
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.3);
}

.certificate-card.trademark-certificate .certificate-type {
    color: #7b1fa2;
    font-weight: 600;
}

/* Certificate Badge Dark Theme */
[data-theme="dark"] .certificate-badge {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .certificate-badge.valid {
    border-color: var(--success-color);
    background: rgba(63, 185, 80, 0.1);
    color: var(--success-color);
}

[data-theme="dark"] .certificate-badge.expired {
    border-color: var(--danger-color);
    background: rgba(248, 81, 73, 0.1);
    color: var(--danger-color);
}

[data-theme="dark"] .certificate-badge.warning {
    border-color: var(--warning-color);
    background: rgba(210, 153, 34, 0.1);
    color: var(--warning-color);
}

/* Products Section Dark Theme */
[data-theme="dark"] .products-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .products-section h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .products-section .lead {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

[data-theme="dark"] .product-card:hover::before {
    left: 100%;
}

[data-theme="dark"] .product-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px var(--shadow-hover);
}

[data-theme="dark"] .product-image {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-quaternary));
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .product-image img {
    transition: transform 0.3s ease;
    filter: brightness(0.9);
}

[data-theme="dark"] .product-card:hover .product-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

[data-theme="dark"] .product-image .placeholder {
    color: var(--text-secondary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .product-image .placeholder {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-quaternary));
    color: var(--text-secondary);
}

[data-theme="dark"] .product-image .placeholder i {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .product-image .placeholder p {
    color: var(--text-secondary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .product-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .product-title {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

[data-theme="dark"] .product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px var(--shadow-color);
}

[data-theme="dark"] .product-features {
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

[data-theme="dark"] .product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    text-shadow: 0 1px 2px var(--shadow-color);
}

[data-theme="dark"] .product-features li i {
    color: var(--success-color);
    text-shadow: 0 0 8px rgba(63, 185, 80, 0.3);
    font-size: 0.9rem;
}

[data-theme="dark"] .product-price {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .product-card .btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border: none;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
    transition: all 0.3s ease;
}

[data-theme="dark"] .product-card .btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.4);
}

[data-theme="dark"] .product-card .btn:active {
    transform: translateY(0);
}

/* Product Modal Dark Theme */
[data-theme="dark"] .modal {
    background: rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px var(--shadow-hover);
}

[data-theme="dark"] .modal-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .modal-header h3 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .modal-header .close {
    color: var(--text-secondary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .modal-header .close:hover {
    color: var(--text-primary);
}

[data-theme="dark"] .modal-body {
    background: var(--bg-secondary);
}

[data-theme="dark"] .product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

[data-theme="dark"] .product-detail-image {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

[data-theme="dark"] .product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

[data-theme="dark"] .product-detail-info h4 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

[data-theme="dark"] .product-detail-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-shadow: 0 1px 2px var(--shadow-color);
    margin-bottom: 1rem;
}

[data-theme="dark"] .modal-footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .modal-footer .btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border: none;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .modal-footer .btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.4);
}

/* Responsive Product Cards */
@media (max-width: 768px) {
    [data-theme="dark"] .product-detail-container {
        grid-template-columns: 1fr;
    }
    
    [data-theme="dark"] .product-card .btn {
        width: 100%;
        text-align: center;
    }
}

[data-theme="dark"] .services-preview {
    background: var(--bg-primary);
}

/* Contact Section Dark Theme */
[data-theme="dark"] .contact-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .contact-info-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .contact-info-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

[data-theme="dark"] .contact-info-wrapper:hover::before {
    left: 100%;
}

[data-theme="dark"] .contact-info-wrapper:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 45px var(--shadow-hover);
}

[data-theme="dark"] .contact-info-wrapper h3 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .contact-info {
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .contact-info p {
    color: var(--text-secondary);
    text-shadow: 0 1px 3px var(--shadow-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .contact-info p:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

[data-theme="dark"] .contact-info i {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
    font-size: 1.2rem;
    width: 20px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .contact-info p:hover i {
    color: var(--accent-hover);
    text-shadow: 0 0 15px rgba(88, 166, 255, 0.5);
    transform: scale(1.1);
}

[data-theme="dark"] .contact-map {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-shadow: 0 1px 3px var(--shadow-color);
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

[data-theme="dark"] .contact-map:hover {
    background: var(--bg-quaternary);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Contact Info Quick Dark Theme */
[data-theme="dark"] .contact-info-quick {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

[data-theme="dark"] .quick-contact {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .quick-contact:hover {
    background: var(--bg-quaternary);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

[data-theme="dark"] .quick-contact i {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
}

/* Contact Info Editor Dark Theme */
[data-theme="dark"] .contact-info-editor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

[data-theme="dark"] .contact-info-editor .form-group {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .contact-info-editor .form-group:hover {
    border-color: var(--border-hover);
    box-shadow: 0 5px 15px var(--shadow-color);
}

[data-theme="dark"] .contact-info-editor label {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .contact-info-editor input,
[data-theme="dark"] .contact-info-editor textarea {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-shadow: 0 1px 2px var(--shadow-color);
}

[data-theme="dark"] .contact-info-editor input:focus,
[data-theme="dark"] .contact-info-editor textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.2);
}

/* Responsive Contact Dark Theme */
@media (max-width: 768px) {
    [data-theme="dark"] .contact-info-quick {
        flex-direction: column;
        gap: 1rem;
    }
    
    [data-theme="dark"] .contact-info-editor {
        grid-template-columns: 1fr;
    }
}

[data-theme="dark"] .about-section {
    background: var(--bg-primary);
}

/* Why Choose Us Dark Theme */
[data-theme="dark"] .why-choose {
    background: var(--bg-primary);
}

[data-theme="dark"] .why-choose h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .why-choose .lead {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

[data-theme="dark"] .advantage-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
}

[data-theme="dark"] .advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

[data-theme="dark"] .advantage-card:hover::before {
    left: 100%;
}

[data-theme="dark"] .advantage-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

[data-theme="dark"] .advantage-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .advantage-card:hover .advantage-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(88, 166, 255, 0.4);
}

[data-theme="dark"] .advantage-icon i {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

[data-theme="dark"] .advantage-card:hover .advantage-icon i {
    transform: rotate(5deg);
}

[data-theme="dark"] .advantage-card h4 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .advantage-card p {
    color: var(--text-secondary);
    text-shadow: 0 1px 2px var(--shadow-color);
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* Why Choose Content Dark Theme */
[data-theme="dark"] .why-choose-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

[data-theme="dark"] .section-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

[data-theme="dark"] .why-choose-content h2 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

[data-theme="dark"] .why-choose-content p {
    color: var(--text-secondary);
    text-shadow: 0 1px 2px var(--shadow-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

[data-theme="dark"] .why-choose-content .btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border: none;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
    transition: all 0.3s ease;
}

[data-theme="dark"] .why-choose-content .btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.4);
}

/* Visual Stats Dark Theme */
[data-theme="dark"] .why-choose-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .visual-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow-color);
}

[data-theme="dark"] .visual-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .visual-stat:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

[data-theme="dark"] .visual-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(88, 166, 255, 0.4);
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .visual-stat-label {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive Why Choose Dark Theme */
@media (max-width: 768px) {
    [data-theme="dark"] .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    [data-theme="dark"] .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    [data-theme="dark"] .advantage-card {
        padding: 1.5rem 1rem;
    }
    
    [data-theme="dark"] .advantage-card h4 {
        font-size: 1rem;
    }
    
    [data-theme="dark"] .advantage-card p {
        font-size: 0.85rem;
    }
    
    [data-theme="dark"] .visual-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    [data-theme="dark"] .advantage-card {
        padding: 1.2rem 0.8rem;
    }
    
    [data-theme="dark"] .advantage-card h4 {
        font-size: 0.95rem;
    }
    
    [data-theme="dark"] .advantage-card p {
        font-size: 0.8rem;
    }
}

[data-theme="dark"] .about-section .about-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-color);
}

/* Product Categories Dark Theme */
[data-theme="dark"] .product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

[data-theme="dark"] .category-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

[data-theme="dark"] .category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

[data-theme="dark"] .category-item:hover::before {
    left: 100%;
}

[data-theme="dark"] .category-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

[data-theme="dark"] .category-number {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .category-item:hover .category-number {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(88, 166, 255, 0.4);
}

[data-theme="dark"] .category-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .category-content h3 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

[data-theme="dark"] .category-content p {
    color: var(--text-secondary);
    text-shadow: 0 1px 2px var(--shadow-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Product Categories Dark Theme */
@media (max-width: 768px) {
    [data-theme="dark"] .product-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    [data-theme="dark"] .category-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    [data-theme="dark"] .category-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    [data-theme="dark"] .category-content h3 {
        font-size: 1.1rem;
    }
    
    [data-theme="dark"] .category-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    [data-theme="dark"] .product-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    [data-theme="dark"] .category-item {
        padding: 1rem;
        gap: 0.8rem;
        flex-direction: column;
        text-align: center;
    }
    
    [data-theme="dark"] .category-number {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    [data-theme="dark"] .category-content h3 {
        font-size: 1rem;
    }
    
    [data-theme="dark"] .category-content p {
        font-size: 0.85rem;
    }
}
}

[data-theme="dark"] .about-section h3 {
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-color);
}

[data-theme="dark"] .about-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

[data-theme="dark"] .about-section ul li {
    color: var(--text-secondary);
}

[data-theme="dark"] .about-section ul li i {
    color: var(--success-color);
    text-shadow: 0 0 8px rgba(63, 185, 80, 0.3);
}

/* Image Placeholder Dark Theme */
[data-theme="dark"] .image-placeholder {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    box-shadow: 0 4px 15px var(--shadow-color);
}

[data-theme="dark"] .image-placeholder i {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(88, 166, 255, 0.3);
}

[data-theme="dark"] .image-placeholder p {
    color: var(--text-muted);
}

/* Service Cards Dark Theme */
[data-theme="dark"] .service-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-color);
}

[data-theme="dark"] .service-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

[data-theme="dark"] .service-card h3 {
    color: var(--text-primary);
    text-shadow: 0 1px 3px var(--shadow-color);
}

[data-theme="dark"] .service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

[data-theme="dark"] .service-card .service-features li {
    color: var(--text-secondary);
}

[data-theme="dark"] .service-card .service-features li i {
    color: var(--success-color);
    text-shadow: 0 0 8px rgba(63, 185, 80, 0.3);
}

[data-theme="dark"] .service-card .service-link {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .service-card .service-link:hover {
    color: var(--accent-hover);
    text-shadow: 0 0 8px rgba(88, 166, 255, 0.5);
    transform: translateX(5px);
}

/* Mobile responsive for theme toggle */
@media (max-width: 768px) {
    .theme-toggle {
        width: 50px;
        height: 25px;
        margin-right: 10px;
    }
    
    .theme-icon {
        font-size: 12px;
    }
    
    .theme-toggle-inner {
        padding: 0 6px;
    }
}

/* ========== RESPONSIVE UPDATES ========== */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-wrapper, .contact-info-wrapper {
        padding: 2rem;
    }
    
    .menu-slider {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .menu-btn {
        min-width: 200px;
        padding: 1.2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper, .contact-info-wrapper {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper h3, .contact-info-wrapper h3 {
        font-size: 1.5rem;
    }
}
