/* Global CSS - Used across all pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #1a5490;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --text-lighter: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-md: 0 15px 35px rgba(0,0,0,0.12);
    --shadow-lg: 0 25px 50px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    color: var(--text-dark);
    background: var(--bg-white);
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes rotateSquare {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
}

@keyframes scale {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(0.8); }
}

@keyframes loadingProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Loading Page Styles */
.loading-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-page.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease;
}

.loading-logo-icon {
    width: 60px;
    height: 60px;
    position: relative;
    animation: rotateSquare 2s ease-in-out infinite;
}

.loading-logo-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-color);
    border-radius: 8px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-logo-icon::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 4px;
    animation: scale 1.5s ease-in-out infinite;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin-bottom: 2rem;
    position: relative;
}

.loading-spinner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #f0f0f0;
    border-radius: 50%;
}

.loading-spinner::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: var(--text-lighter);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    margin-top: 2rem;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
    animation: loadingProgress 2s ease-in-out;
}

/* Navigation - Global */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo::before {
    content: '';
    display: inline-block;
    width: 24px; /* adjust size */
    height: 24px;
    background-image: url('Logo.svg'); /* your custom emoji-like SVG */
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 3s ease-in-out infinite;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Button Styles - Global */
.btn {
    text-align: center;
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Section Headers - Global */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-lighter);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Main Content Container */
.main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-content.show {
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url("/Hero.jpg") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(52, 152, 219, 0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>'); */
    top: -50%;
    left: -50%;
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero h1 .highlight {
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    font-size: 4rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: bold;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: var(--primary-dark);
}

/* About Section */
.about {
    padding: 6rem 5%;
    background: var(--bg-white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats-row {
    display: flex;
    gap: 3rem;
}

.stat-box {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-lighter);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.about-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    background: url("Hero1.jpg") no-repeat center center;
    background-size: cover;
    animation: scaleIn 1s ease;
}

/* Products Section */
.products {
    padding: 6rem 5%;
    background: var(--bg-light);
}

/* Product Categories */
.product-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 25px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.category-btn:hover::before {
    width: 300px;
    height: 300px;
}

.category-btn span {
    position: relative;
    z-index: 1;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(52, 152, 219, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 250px;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.product-info {
    padding: 1.8rem;
    position: relative;
    z-index: 2;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.product-description {
    color: var(--text-lighter);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.feature-tag {
    background: #e8f4f8;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.view-more-btn {
    margin-top: 1rem;
}

/* Product Detail Page Styles */
.product-detail {
    padding-top: 100px;
    min-height: 100vh;
    display: none;
}

.breadcrumb {
    padding: 1rem 5%;
    background: var(--bg-light);
    font-size: 0.9rem;
    color: var(--text-lighter);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Image Gallery */
.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 317.5px;   /* optional max height */
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.main-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.image-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.slider-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
}

/* Product Details */
.product-details {
    animation: fadeInUp 0.8s ease;
}

.product-details h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-details .description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.product-specs {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.product-specs h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.spec-list {
    list-style: none;
}

.spec-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.spec-value {
    color: var(--text-light);
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Why Choose Section */
.why-choose {
    padding: 6rem 5%;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: scale(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--text-lighter);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    animation: float 20s linear infinite;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    animation: scaleIn 0.8s ease;
}

.stat-value {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.stat-desc {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonials {
    padding: 6rem 5%;
    background: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: #f39c12;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.7;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.author-info h4 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.author-info p {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

/* Projects Section */
.projects {
    padding: 6rem 5%;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.project-card::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    opacity: 0;
    transition: var(--transition);
    font-weight: 600;
}

.project-card:hover::after {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.Project1 {
    background: url("Project1.jpg") no-repeat center center;
    background-size: cover;
}

.Project2 {
    background: url("Project2.jpg") no-repeat center center;
    background-size: cover;
}

.Project3 {
    background: url("Project3.jpeg") no-repeat center center;
    background-size: cover;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.project-location {
    color: var(--text-lighter);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer - Global */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 5% 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    cursor: pointer;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
}

.footer-section ul li a:hover::before {
    left: -15px;
    opacity: 1;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 15px;
}

.contact-info, .contact-info > a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #bdc3c7;
    font-size: 0.95rem;
    text-decoration: none;
}

.contact-info > a {
    margin-top: 5.5%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Hide/Show products based on category */
.product-card {
    display: block;
    opacity: 1;
    transition: all 0.3s ease;
}

.product-card.hidden {
    display: none;
    opacity: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 3%;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h1 .highlight {
        font-size: 3rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .stats-row {
        justify-content: center;
    }
    
    .products-grid,
    .projects-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .product-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .products-grid,
    .projects-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
}