/* ============================================
   SHREE SAI PRINTING HUB - COMPLETE CSS
   Modern, Professional, Mobile Responsive
   ============================================ */

:root {
    --primary: #FF6B35; /* Orange */
    --primary-dark: #e55a28;
    --secondary: #2EC4B6; /* Teal */
    --accent: #FF6B35; /* Same as primary for consistency */
    --dark: #1a1a2e; /* Dark Blue/Purple */
    --dark2: #16213e;
    --light: #f8f9fa; /* Light Gray */
    --white: #ffffff;
    --gray: #6c757d; /* Medium Gray */
    --gradient: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%); /* Orange to Gold */
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden; /* Prevents horizontal scroll */
    position: relative;
    line-height: 1.6;
}

/* Background Logo on body */
body::before {
    content: '';
    position: fixed; /* Fixed position so it doesn't scroll */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center it perfectly */
    width: 600px;
    height: 600px;
    background: url('../images/logo.png') no-repeat center center;
    background-size: contain; /* Ensure logo is fully visible */
    opacity: 0.08; /* Light opacity */
    z-index: -1; /* Behind all content */
    pointer-events: none; /* Allows clicks/interactions with elements beneath */
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--white); }
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 40px; }
.mt-4 { margin-top: 60px; }
.accent { color: var(--primary); }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 50px; /* Pill shape */
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    justify-content: center; /* Center content in button */
}
.btn-primary { background: var(--gradient); color: white; box-shadow: 0 4px 20px rgba(255,107,53,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,107,53,0.5); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-secondary { background: var(--secondary); color: white; box-shadow: 0 4px 20px rgba(46, 196, 182, 0.4);}
.btn-secondary:hover { background: #25b5a7; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(46, 196, 182, 0.5);}
.btn-success { background: #25D366; color: white; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);}
.btn-success:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);}
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }
.btn-nav { padding: 8px 20px; font-size: 13px; }

/* ============ NAVBAR ============ */
.navbar {
    position: sticky; /* Changed to sticky for better mobile behavior and smooth scroll */
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled { background: rgba(255,255,255,0.98); box-shadow: var(--shadow); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dark); font-size: 18px; font-weight: 700;}
.nav-logo img { width: 42px; height: 42px; border-radius: 10px; }
.nav-logo strong { color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; font-size: 14px; transition: var(--transition); position: relative; padding: 5px 0;}
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.cart-link { position: relative; font-size: 18px; margin-left: 10px; }
.cart-count { position: absolute; top: -8px; right: -12px; background: var(--primary); color: white; font-size: 10px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { width: 25px; height: 3px; background: var(--dark); border-radius: 2px; transition: var(--transition); }
/* Hamburger menu active state for animation */
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px; /* Adjust padding for navbar */
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff5f0 0%, #fff 50%, #f0fffd 100%);
}
.hero-bg-logo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: url('../images/logo.png') no-repeat center center;
    background-size: contain;
    opacity: 0.06;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Text slightly wider than image */
    gap: 60px;
    align-items: center;
}
.hero-text {}
.hero-title { font-family: 'Playfair Display', serif; font-size: 56px; line-height: 1.1; margin-bottom: 10px; }
.hero-brand { color: var(--primary); }
.hero-sub { color: var(--dark); font-size: 48px; display: block; } /* Ensure sub-part breaks line */
.hero-tagline { font-size: 22px; color: var(--primary); font-weight: 600; margin: 16px 0; }
.hero-desc { font-size: 17px; color: var(--gray); line-height: 1.7; margin-bottom: 30px; max-width: 500px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; height: 450px; display: flex; justify-content: center; align-items: center; } /* Center stack visually */
.hero-product-stack { position: relative; width: 100%; max-width: 450px; height: 100%; } /* Constrain width */
.stack-img {
    position: absolute;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    transition: var(--transition);
    max-width: 100%; /* Ensure images don't overflow */
    max-height: 100%;
}
/* Specific positioning for stack images */
.img1 { width: 240px; height: 280px; top: 20px; left: 0; transform: rotate(-5deg); z-index: 4; }
.img2 { width: 180px; height: 220px; top: 10px; right: 20px; transform: rotate(5deg); z-index: 3; }
.img3 { width: 140px; height: 140px; bottom: 60px; left: 40px; transform: rotate(8deg); z-index: 2; }
.img4 { width: 200px; height: 160px; bottom: 30px; right: 10px; transform: rotate(-3deg); z-index: 1; }

/* Adjust stack images for smaller screens */
@media (max-width: 992px) {
    .img1 { width: 180px; height: 220px; top: 20px; left: 10%; }
    .img2 { width: 140px; height: 180px; top: 0px; right: 10%; }
    .img3 { width: 100px; height: 100px; bottom: 40px; left: 20%; }
    .img4 { width: 150px; height: 120px; bottom: 20px; right: 5%; }
}

/* ============ SECTION TITLES ============ */
.section-title { font-size: 40px; font-weight: 800; text-align: center; margin-bottom: 10px; }
.section-subtitle { text-align: center; color: var(--gray); font-size: 17px; margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-subtitle-left { text-align: left; color: var(--gray); font-size: 17px; margin-bottom: 25px; }

/* ============ SERVICES GRID (HOME PAGE) ============ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex; /* Use flexbox for internal alignment */
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.service-icon { font-size: 48px; color: var(--primary); margin-bottom: 16px; }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray); margin-bottom: 16px; flex-grow: 1; } /* Allow paragraph to grow */
.service-card .btn-sm { margin-top: auto; } /* Push button to bottom */

/* ============ PRODUCT CARDS ============ */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative; /* For overlay */
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img-wrap { position: relative; overflow: hidden; height: 220px; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .product-img-wrap img { transform: scale(1.1); }
.product-overlay {
    position: absolute;
    inset: 0; /* Cover the entire parent */
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-info { padding: 16px; text-align: center; }
.product-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.product-info .btn-sm { margin-top: 10px; } /* Add margin for button below name */

/* ============ ABOUT INTRO (HOME PAGE) ============ */
.about-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { font-size: 16px; line-height: 1.8; margin-bottom: 14px; color: var(--gray); }
.about-points { list-style: none; margin: 20px 0 26px; padding-left: 0; }
.about-points li { padding: 6px 0; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.about-points li i { color: var(--accent); }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
}

/* ============ TESTIMONIALS ============ */
.testimonials-slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-stars { color: #FFD700; font-size: 16px; margin-bottom: 12px; }
.testimonial-card p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 14px; color: var(--dark2); }
.testimonial-author span { font-size: 12px; color: var(--gray); }

/* ============ CTA SECTION ============ */
.cta-section { padding: 70px 0; }
.cta-box {
    background: var(--gradient);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(255,107,53,0.3);
}
.cta-box h2 { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.cta-box p { font-size: 17px; opacity: 0.9; margin-bottom: 26px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ CART SIDEBAR ============ */
.cart-sidebar {
    position: fixed;
    top: 0; right: -420px; /* Hidden by default */
    width: 400px; max-width: 90vw;
    height: 100%;
    background: white;
    z-index: 2000;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
    display: flex; flex-direction: column;
}
.cart-sidebar.active { right: 0; }
.cart-header { padding: 22px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-size: 18px; color: var(--dark); margin: 0; }
.cart-close { background: none; border: none; font-size: 28px; cursor: pointer; color: var(--gray); transition: var(--transition); }
.cart-close:hover { color: var(--dark); transform: rotate(90deg); }
.cart-body { flex: 1; overflow-y: auto; padding: 20px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--gray); }
.cart-empty i { font-size: 50px; margin-bottom: 14px; opacity: 0.3; }
.cart-empty p { font-size: 16px; }
.cart-item {
    display: flex; gap: 14px; align-items: center;
    padding: 14px 0; border-bottom: 1px solid #f0f0f0;
}
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-info h5 { font-size: 14px; font-weight: 600; margin: 0; color: var(--dark2); }
.cart-item-remove { background: none; border: none; color: #e74c3c; cursor: pointer; font-size: 16px; flex-shrink: 0; transition: var(--transition); }
.cart-item-remove:hover { color: #c0392b; transform: scale(1.1); }
.cart-footer { padding: 20px; border-top: 1px solid #eee; }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 14px; font-weight: 600; color: var(--dark); }
.cart-footer .btn { margin-top: 10px; }
.cart-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1999;
    opacity: 0;
    pointer-events: none; /* Do not block interaction when not active */
    transition: opacity 0.4s ease;
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

/* ============ CART NOTIFICATION ============ */
.cart-notification {
    position: fixed; bottom: 30px; right: 30px;
    background: var(--secondary); color: white;
    padding: 14px 24px; border-radius: 50px;
    font-weight: 600; font-size: 14px;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 6px 25px rgba(46,196,182,0.4);
    opacity: 0; transform: translateY(30px);
    transition: var(--transition); z-index: 3000;
}
.cart-notification.show { opacity: 1; transform: translateY(0); }

/* ============ FOOTER ============ */
.footer { background: var(--dark); color: #ccc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo img { width: 38px; height: 38px; border-radius: 8px; }
.footer-logo span { font-size: 17px; font-weight: 700; color: white; }
.footer-logo strong { color: var(--primary); }
.footer-col p, .footer-col ul li { font-size: 14px; line-height: 1.8; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: white; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-col h4 { color: white; font-size: 16px; margin-bottom: 18px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 30px; height: 2px; background: var(--primary); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { padding: 5px 0; }
.footer-col ul li a { color: #aaa; text-decoration: none; font-size: 14px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col p { font-size: 14px; margin-bottom: 6px; display: flex; align-items: flex-start; gap: 8px; }
.footer-col p i { margin-top: 3px; color: var(--primary); flex-shrink: 0; } /* Align icon with text */
.footer-col p a { color: #aaa; text-decoration: none; transition: var(--transition); }
.footer-col p a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px; text-align: center; font-size: 13px; color: #999; }

/* ============ WHATSAPP FLOATING BUTTON ============ */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background: #25D366; color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; z-index: 1500;
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite; /* Pulsating effect */
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 35px rgba(37,211,102,0.7); }
@keyframes pulse-whatsapp {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.9; }
}

/* ============ PAGE HEADER ============ */
.page-header {
    padding: 140px 20px 70px; /* Adjusted padding for navbar */
    text-align: center;
    background: linear-gradient(135deg, #fff5f0 0%, #f0fffd 100%);
    position: relative;
    overflow: hidden;
}
.page-header-bg-logo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 400px; height: 400px;
    background: url('../images/logo.png') no-repeat center;
    background-size: contain;
    opacity: 0.06;
    z-index: 0;
}
.page-header h1 { font-size: 44px; font-weight: 800; position: relative; color: var(--dark); }
.page-header p { color: var(--gray); font-size: 17px; position: relative; max-width: 600px; margin: 10px auto 0; }

/* ============ FULL SERVICES PAGE ============ */
.service-detail-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    background: white; border-radius: 20px; overflow: hidden;
    margin-bottom: 40px; box-shadow: var(--shadow); border: 1px solid #f0f0f0;
    align-items: center; /* Vertically align content */
}
.service-detail-card.reverse { direction: rtl; } /* Reverses grid columns order */
.service-detail-card.reverse > * { direction: ltr; } /* Restore text direction */
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; min-height: 350px; }
.service-detail-info { padding: 36px; }
.service-icon-lg { font-size: 40px; color: var(--primary); margin-bottom: 12px; }
.service-detail-info h2 { font-size: 28px; font-weight: 700; margin-bottom: 14px; color: var(--dark); }
.service-detail-info p { font-size: 15px; color: var(--gray); margin-bottom: 16px; }
.service-detail-info ul { list-style: none; margin-bottom: 24px; padding-left: 0; }
.service-detail-info ul li { padding: 5px 0; font-size: 14px; display: flex; align-items: center; gap: 10px; color: var(--dark2); }
.service-detail-info ul li i { color: var(--secondary); } /* Use secondary for checkmarks */
.service-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ============ GALLERY PAGE ============ */
.gallery-categories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 50px; }
.gallery-category-card {
    position: relative; border-radius: 14px; overflow: hidden;
    cursor: pointer; height: 200px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.gallery-category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-category-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-category-card:hover img { transform: scale(1.1); }
.gc-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 20px; color: white;
}
.gc-overlay h3 { font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.view-more { font-size: 13px; opacity: 0; transform: translateX(-10px); transition: var(--transition); display: flex; align-items: center; gap: 5px; }
.gallery-category-card:hover .view-more { opacity: 1; transform: translateX(0); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; cursor: zoom-in; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }
.gi-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white; padding: 30px 14px 12px; font-size: 13px; font-weight: 600;
}

/* ============ PORTFOLIO MODAL ============ */
.portfolio-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 4000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.portfolio-modal.active { opacity: 1; pointer-events: all; }
.portfolio-modal-content {
    background: white; border-radius: var(--radius);
    padding: 30px; max-width: 900px; width: 90%; max-height: 90vh;
    position: relative;
    transform: translateY(20px); opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex; flex-direction: column;
}
.portfolio-modal.active .portfolio-modal-content { transform: translateY(0); opacity: 1; }
.pm-close {
    position: absolute; top: 15px; right: 15px;
    background: none; border: none; font-size: 30px;
    color: var(--gray); cursor: pointer;
    transition: var(--transition);
}
.pm-close:hover { color: var(--primary); transform: rotate(90deg); }
#pmTitle { font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 20px; text-align: center; }
.portfolio-images {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px;
    overflow-y: auto; flex-grow: 1;
    padding-right: 10px; /* For scrollbar space */
    margin-bottom: 20px;
}
.portfolio-img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.portfolio-actions { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 15px; }

/* ============ ABOUT FULL PAGE ============ */
.about-full .about-flex { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.about-full .about-image { position: relative; margin-top: 0; }
.about-full .about-badge { position: static; transform: none; margin-top: 20px; display: inline-flex; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; margin-bottom: 30px; }
.value-item {
    text-align: center;
    background: #fdfdfd;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #f5f5f5;
}
.value-item i { font-size: 36px; margin-bottom: 15px; }
.value-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--dark2); }
.value-item p { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 0; }

/* ============ CONTACT PAGE ============ */
.contact-flex { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: flex-start; }
.contact-info { margin-top: 20px; }
.contact-detail { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.contact-detail i { font-size: 24px; color: var(--primary); flex-shrink: 0; margin-top: 4px; }
.contact-detail div strong { display: block; font-size: 16px; color: var(--dark2); }
.contact-detail div span { font-size: 15px; color: var(--gray); }
.contact-detail div span a { color: var(--gray); text-decoration: none; transition: var(--transition); }
.contact-detail div span a:hover { color: var(--primary); text-decoration: underline; }
.contact-map { border-radius: var(--radius); overflow: hidden; margin-top: 30px; box-shadow: var(--shadow); }
.contact-form-wrap {
    background: white;
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}
.contact-form h3 { font-size: 24px; font-weight: 700; margin-bottom: 25px; color: var(--dark); text-align: center; }
.form-group { margin-bottom: 18px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: var(--dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,107,53,0.2);
}
.form-group textarea { resize: vertical; }
.form-group select { appearance: none; /* Remove default arrow */ background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%236c757d' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 15px center/18px 18px; }


/* ============================================
   ANIMATIONS (for scroll-reveal)
   ============================================ */
.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}
.animate-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-slide-up.active,
.animate-fade-in.active,
.animate-scale-in.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1100px) {
    .hero-title { font-size: 48px; }
    .hero-sub { font-size: 40px; }
    .hero-tagline { font-size: 20px; }
    .hero-desc { font-size: 16px; }
    .section-title { font-size: 36px; }
    .section-subtitle { font-size: 16px; }

    .img1 { width: 200px; height: 240px; }
    .img2 { width: 160px; height: 190px; }
    .img3 { width: 120px; height: 120px; }
    .img4 { width: 180px; height: 140px; }
}

@media (max-width: 992px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: white; box-shadow: var(--shadow); padding: 20px 0; border-top: 1px solid #eee; }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 10px 0; text-align: center; }
    .nav-links a { font-size: 16px; padding: 10px 0; }
    .cart-link { margin-left: 0; } /* Remove extra margin for mobile menu */
    .nav-actions { order: 2; } /* Keep button next to hamburger */
    .hamburger { display: flex; }
    .btn-nav { display: none; } /* Hide Order Now button in nav for smaller screens, use floating WA button instead */

    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text { order: 2; } /* Text below image on mobile */
    .hero-visual { order: 1; height: 350px; margin-bottom: 40px; }
    .hero-title { font-size: 40px; }
    .hero-sub { font-size: 34px; }
    .hero-tagline { font-size: 18px; }
    .hero-desc { max-width: 100%; }
    .hero-buttons { justify-content: center; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .product-info .btn-sm { display: none; } /* Hide internal add button, rely on overlay or main page CTA */
    .product-card:hover .product-overlay { opacity: 1; } /* Always show add button on hover */

    .about-flex { grid-template-columns: 1fr; }
    .about-image { order: 1; margin-bottom: 40px; }
    .about-text { order: 2; text-align: center; }
    .about-points { justify-content: center; }

    .testimonials-slider { grid-template-columns: 1fr; }

    .cta-box h2 { font-size: 28px; }
    .cta-box p { font-size: 16px; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col:first-child { grid-column: span 2; } /* First column spans two for better logo placement */

    .service-detail-card { grid-template-columns: 1fr; }
    .service-detail-card.reverse { direction: ltr; } /* Remove reverse on mobile for consistency */
    .service-detail-img img { min-height: 250px; }
    .service-detail-info { padding: 25px; text-align: center; }
    .service-detail-info ul { text-align: left; margin: 0 auto 20px; max-width: 300px; }
    .service-actions { justify-content: center; }

    .gallery-categories { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-images { grid-template-columns: repeat(2, 1fr); }

    .contact-flex { grid-template-columns: 1fr; }
    .contact-info { margin-bottom: 40px; text-align: center; }
    .contact-detail { justify-content: center; align-items: center; }
    .contact-detail i { margin-top: 0; }
    .contact-detail div { text-align: left; } /* Keep text left-aligned */
    .contact-map { margin-top: 20px; }
    .contact-form h3 { font-size: 20px; }
}

@media (max-width: 576px) {
    .container { padding: 0 15px; }
    .section { padding: 60px 0; }
    .hero { padding-top: 100px; padding-bottom: 60px; }
    .hero-title { font-size: 36px; }
    .hero-sub { font-size: 30px; }
    .hero-tagline { font-size: 16px; }
    .hero-desc { font-size: 15px; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .hero-visual { height: 280px; }
    .stack-img { display: none; } /* Hide stacked images on very small screens */
    .hero-product-stack { background: url(../images/tshirt-hero.png) no-repeat center; background-size: contain; width: 80%; height: 100%; margin: 0 auto; } /* Single image for hero */

    .section-title { font-size: 30px; }
    .section-subtitle { font-size: 15px; margin-bottom: 30px; }
    .service-card { padding: 25px 15px; }
    .service-card h3 { font-size: 16px; }
    .service-card p { font-size: 13px; }

    .products-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }

    .cta-box { padding: 40px 25px; }
    .cta-box h2 { font-size: 24px; }
    .cta-buttons { flex-direction: column; gap: 10px; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-col:first-child { grid-column: span 1; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-col h4 { text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-col ul { text-align: center; }
    .footer-col p { justify-content: center; }

    .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
    .cart-sidebar { width: 100%; max-width: 100vw; }
    .portfolio-images { grid-template-columns: 1fr; }
    .gallery-categories { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }

    .about-full .about-points { justify-content: center; }
    .contact-detail { flex-direction: column; align-items: center; text-align: center; }
    .contact-detail div { text-align: center; }
} 