/* ===================================
   GENERAL STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0ea5e9;
    --secondary-color: #6366f1;
    --accent-color: #06b6d4;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --muted-color: #6b7280;
    --border-radius: 12px;
    --transition: all 0.28s cubic-bezier(.2,.9,.2,1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

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

/* Currency symbol styling */
.currency::before,
#subtotal::before,
#shipping::before,
#tax::before,
#total::before,
#checkoutSubtotal::before,
#checkoutShipping::before,
#checkoutTax::before,
#checkoutTotal::before {
    content: '₹';
}

.cart-table tbody td:nth-child(2)::before,
.cart-table tbody td:nth-child(4)::before {
    content: '₹';
}

.checkout-item > div:last-child::before {
    content: '₹';
}

/* Center top-level page headings inside main containers */
.container > h1,
.container > h2,
.container > h3,
.hero-content h1,
.services-hero h1,
.about-hero h1,
.portfolio-section h2,
.portfolio-section h3 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   NAVIGATION BAR
   =================================== */

.navbar {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(6px);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(12,15,30,0.04);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--dark-color);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
}

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

.nav-menu a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 10px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: linear-gradient(90deg,var(--primary-color),var(--secondary-color));
    color: white;
    transform: translateY(-2px);
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.cart-count {
    background: var(--secondary-color);
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: var(--transition);
}

/* ===================================
   BUTTONS & LINKS
   =================================== */

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 8px 24px rgba(99,102,241,0.12);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(99,102,241,0.16);
}

.btn-secondary {
    background: white;
    color: var(--dark-color);
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 6px 18px rgba(15,23,42,0.04);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.full-width {
    width: 100%;
    display: block;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideUp 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero .btn {
    margin-top: 1rem;
}

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

/* ===================================
   FEATURED SECTION
   =================================== */

.featured {
    padding: 60px 20px;
    background: var(--light-color);
}

.featured h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

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

.product-card {
    background: white;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(12,15,30,0.06);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.18);
}

.product-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.12);
    filter: brightness(1.08);
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.2) 100%);
    pointer-events: none;
}

.product-card h3,
.product-description,
.product-features,
.price,
.price-details,
.product-card .btn {
    padding: 0 1.5rem;
}

.product-card h3 {
    padding-top: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.product-card .btn {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.4rem;
    color: var(--dark-color);
    font-weight: 700;
    margin: 0.6rem 0 0.4rem;
}

.price .currency { font-weight:600; color:var(--muted-color); font-size:0.95rem; margin-right:6px; }

.price-details {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.product-description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    text-align: left;
    margin: 1rem 0;
    padding-left: 0;
    font-size: 0.9rem;
}

.product-features li {
    padding: 0.4rem 0;
    color: var(--gray-color);
    border-bottom: 1px solid #f0f0f0;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ===================================
   PRICING SECTION
   =================================== */

.pricing-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

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

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.pricing-card.premium-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), white);
}

.pricing-card.enterprise-card {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05), white);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.pricing-amount {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 1rem 0 0.5rem 0;
}

.pricing-details {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ===================================
   CATEGORY & FILTER SECTION
   =================================== */

.category-section {
    margin: 3rem 0;
}

.category-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* ===================================
   SORT SECTION
   =================================== */

.sort-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 2rem;
    gap: 1rem;
}

.sort-section label {
    font-weight: 500;
    color: var(--dark-color);
}

.sort-select {
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    background: white;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.designs-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

/* ===================================
   PORTFOLIO SECTION EXPANDED
   =================================== */

.portfolio-section {
    padding: 60px 20px;
    background: #fafbfc;
    margin-top: 3rem;
}

.portfolio-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.portfolio-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.stat-box h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-hero {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(236,72,153,0.04));
    margin-bottom: 2rem;
}

.services-hero .section-subtitle {
    text-align: center;
    color: var(--gray-color);
    max-width: 800px;
    margin: 0.5rem auto 0;
}

.services-grid {
    padding: 40px 20px;
}

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

.service-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.service-icon {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.15) 100%);
    pointer-events: none;
}

.service-card h3,
.service-card p,
.service-card .btn {
    padding: 0 1.5rem;
}

.service-card h3 {
    padding-top: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.service-card .btn {
    margin-bottom: 1.5rem;
}

/* Portfolio Section Enhancements */
.portfolio-section {
    padding: 60px 20px;
    background: var(--light-color);
}

.portfolio-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.portfolio-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--muted-color);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

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

.stat-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(14, 165, 233, 0.05));
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
}

.stat-box h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-box p {
    color: var(--muted-color);
    font-size: 0.95rem;
}

.portfolio-section h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--dark-color);
}

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

.portfolio-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-bottom: 0;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.2) 100%);
    pointer-events: none;
}

.portfolio-item h4,
.portfolio-category,
.portfolio-description,
.portfolio-features {
    padding: 0 1.5rem;
}

.portfolio-item h4 {
    padding-top: 1.2rem;
}

.portfolio-features {
    padding-bottom: 1.5rem;
}

.portfolio-item h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.portfolio-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.portfolio-description {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.portfolio-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.portfolio-features li {
    padding: 0.3rem 0;
    color: var(--gray-color);
}

.portfolio-features li:before {
    content: "• ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.logo-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: normal;
}


.portfolio-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
}

.portfolio-image {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.portfolio-item h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.tag {
    display: inline-block;
    background: var(--light-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* ===================================
   SHOP SECTION
   =================================== */

.shop-section {
    padding: 60px 20px;
    background: var(--light-color);
}

.shop-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
    padding: 60px 20px;
}

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

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.about-text p {
    color: var(--gray-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.large-icon {
    font-size: 8rem;
    text-align: center;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.mission, .vision {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.mission h3, .vision h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 3rem 0 2rem;
}

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

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.member-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-member h4 {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.team-member p {
    color: var(--gray-color);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    padding: 60px 20px;
    background: var(--light-color);
}

.contact-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    margin-bottom: 1.5rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.social-link:hover {
    text-decoration: underline;
}

/* ===================================
   LEGAL PAGES
   =================================== */

.legal-section {
    padding: 60px 20px;
}

.legal-section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--gray-color);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.legal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content ul,
.legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.legal-content p {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ===================================
   CART SECTION
   =================================== */

.cart-section {
    padding: 60px 20px;
    background: var(--light-color);
    min-height: 70vh;
}

.cart-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.cart-items {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead {
    background: var(--light-color);
    border-bottom: 2px solid #e5e7eb;
}

.cart-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark-color);
}

.cart-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.empty-cart {
    padding: 3rem;
    text-align: center;
    color: var(--gray-color);
}

.empty-cart p {
    margin-bottom: 1.5rem;
}

.cart-summary {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.cart-summary h2 {
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* ===================================
   CHECKOUT SECTION
   =================================== */

.checkout-section {
    padding: 60px 20px;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.checkout-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.checkout-form h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: normal;
}

.form-group.checkbox a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkout-summary {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.checkout-summary h2 {
    margin-bottom: 1.5rem;
}

#checkoutItems {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.checkout-totals {
    margin-top: 2rem;
}

.total-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.total-item.grand-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 20px 1rem;
    margin-top: 4rem;
}

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

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

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

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .products-grid,
    .portfolio-grid,
    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .mission-vision,
    .contact-wrapper,
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }

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

    .cart-wrapper {
        grid-template-columns: 1fr;
    }

    .cart-table {
        font-size: 0.9rem;
    }

    .cart-table th,
    .cart-table td {
        padding: 0.75rem 0.5rem;
    }

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

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

    .portfolio-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .featured h2,
    .portfolio-section h1,
    .section-title {
        font-size: 1.8rem;
    }

    .nav-menu {
        gap: 1rem;
    }

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