/* Base Styles & Variables */
:root {
    --primary-color: #4361ee;
    --primary-hover: #3a56d4;
    --secondary-color: #4cc9f0;
    --accent-color: #f72585;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
    --border-color: #dee2e6;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-size-base: 16px;
    --font-size-increased: 18px;
}

/* Typography */
@font-face {
    font-family: 'Roboto';
    src: url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
}

@font-face {
    font-family: 'Poppins';
    src: url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.font-increased {
    font-size: var(--font-size-increased);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--bg-dark);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1.5;
}

.btn svg {
    margin-right: 0.5rem;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

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

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
}

/* Header */
header {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-color);
}

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

.logo {
    margin-right: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: var(--border-radius);
}

.site-title {
    display: flex;
    flex-direction: column;
}

.site-title h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.site-title p {
    font-size: 0.875rem;
    margin-bottom: 0;
    color: var(--text-light);
}

nav {
    margin-left: auto;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.cart-icon {
    display: flex;
    align-items: center;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

#font-size-increase {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
    transition: var(--transition);
    font-size: 0.875rem;
}

#font-size-increase:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

#font-size-increase svg {
    width: 18px;
    height: 18px;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--bg-light);
    padding: 0.75rem 0;
    margin-bottom: 2rem;
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs li:last-child {
    color: var(--text-color);
    font-weight: 500;
}

/* Main Content */
main {
    flex: 1;
    padding-bottom: 3rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4361ee, #4cc9f0);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background-color: var(--bg-light);
    margin-bottom: 3rem;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.benefit-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.benefit-card h3 {
    margin-bottom: 1rem;
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    margin-bottom: 0;
    font-weight: 500;
}

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

/* About Products Section */
.about-products {
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.about-products h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-text {
    max-width: 900px;
    margin: 0 auto 2rem;
}

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

.quality-info {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.quality-info h3 {
    margin-bottom: 1.5rem;
}

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

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

.quality-info svg {
    flex-shrink: 0;
    color: var(--success-color);
}

.history-section {
    margin-top: 3rem;
}

/* Products Section */
.products {
    margin-bottom: 4rem;
}

.products h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.small-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* Aspect ratio 4:3 */
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card.small .product-info {
    padding: 1rem;
}

.product-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.product-card.small h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.product-description {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    flex-grow: 1;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.product-card.small .product-actions {
    justify-content: center;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-light);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.testimonial-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.testimonial-text {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.quote-icon {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    opacity: 0.5;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Product Detail */
.product-detail {
    margin-bottom: 4rem;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-image-large {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.product-image-large img {
    width: 100%;
    display: block;
}

.product-info-detail h1 {
    margin-bottom: 1rem;
}

.product-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.product-highlights {
    margin-bottom: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.highlight svg {
    color: var(--success-color);
    flex-shrink: 0;
}

.highlight span {
    font-weight: 500;
}

.product-actions-large {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-actions-large .btn {
    flex: 1;
}

.product-tabs {
    margin-bottom: 3rem;
}

.tab-navigation {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-pane {
    display: none;
}

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

.tab-pane h3 {
    margin-bottom: 1.5rem;
}

.tab-pane p, .tab-pane ul, .tab-pane table {
    margin-bottom: 1.5rem;
}

.tab-pane ul {
    list-style: disc;
    padding-left: 1.5rem;
}

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

.specs-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.specs-table td:first-child {
    font-weight: 500;
    width: 30%;
}

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

.benefit-card-product {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-card-product:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.benefit-card-product .benefit-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card-product h4 {
    margin-bottom: 0.75rem;
}

.benefit-card-product p {
    margin-bottom: 0;
    color: var(--text-light);
}

.product-related h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

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

/* Cart Page */
.cart-section {
    margin-bottom: 4rem;
}

.cart-section h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.cart-empty-message {
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.cart-empty-message svg {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.cart-empty-message p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

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

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

.cart-items th, .cart-items td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cart-items th {
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.875rem;
}

.cart-items tbody tr:last-child td {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-name {
    font-weight: 500;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

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

.quantity-value {
    width: 40px;
    text-align: center;
    font-weight: 500;
}

.cart-item-remove {
    color: var(--error-color);
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}

.cart-item-remove:hover {
    opacity: 0.8;
}

.cart-summary {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.cart-total h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.grand-total {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Checkout Page */
.checkout-section {
    margin-bottom: 4rem;
}

.checkout-section h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.checkout-empty-message {
    text-align: center;
    padding: 3rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
}

.checkout-form-container {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.checkout-form-container h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.checkout-summary {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    position: sticky;
    top: 100px;
}

.summary-content {
    padding: 2rem;
}

.summary-content h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.summary-items {
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

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

.summary-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.summary-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-item-info {
    flex: 1;
}

.summary-item-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.summary-item-price {
    font-size: 0.875rem;
    color: var(--text-light);
}

.summary-item-quantity {
    color: var(--text-light);
    font-size: 0.875rem;
}

.summary-totals {
    margin-bottom: 1.5rem;
}

.form-submit {
    margin-top: 2rem;
}

.form-submit .btn {
    width: 100%;
}

.summary-edit {
    text-align: center;
    margin-top: 1.5rem;
}

/* Success Page */
.success-section {
    margin-bottom: 4rem;
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.success-icon {
    margin-bottom: 2rem;
    color: var(--success-color);
}

.success-message {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.next-steps {
    text-align: left;
    margin-bottom: 2rem;
    background-color: var(--bg-light);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
}

.next-steps h2 {
    margin-bottom: 1rem;
}

.next-steps ol {
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.after-success-section {
    margin-bottom: 4rem;
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.after-success-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.service-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
}

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

/* About Page */
.about-hero {
    background: linear-gradient(135deg, #4361ee, #4cc9f0);
    color: white;
    padding: 4rem 0;
    margin-bottom: 4rem;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.about-hero .lead {
    font-size: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-story {
    margin-bottom: 4rem;
}

.about-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-section-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

.about-section-text h2 {
    margin-bottom: 1.5rem;
}

.about-section-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-height: 400px;
}

.about-section-values {
    margin-bottom: 4rem;
}

.about-section-values h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.value-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.value-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.about-vision {
    background-color: var(--bg-light);
    padding: 4rem 0;
    text-align: center;
}

.about-vision-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-vision h2 {
    margin-bottom: 1.5rem;
}

.team-section {
    margin-bottom: 4rem;
    padding-top: 4rem;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.team-member {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member-image {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect ratio */
    overflow: hidden;
}

.team-member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-info {
    padding: 1.5rem;
}

.team-member-info h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.team-member-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member-bio {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.team-member-social {
    display: flex;
    gap: 0.75rem;
}

.team-member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-color);
    transition: var(--transition);
}

.team-member-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.join-team h3 {
    margin-bottom: 1rem;
}

.join-team p {
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partners-section {
    margin-bottom: 4rem;
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.partners-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    text-align: center;
    transition: var(--transition);
}

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

.partner-logo svg {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.partner-logo p {
    margin-bottom: 0;
    font-weight: 500;
}

.cta-section {
    background: linear-gradient(135deg, #4361ee, #4cc9f0);
    padding: 4rem 0;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.25rem;
}

.cta-content .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-content .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Contact Page */
.contact-section {
    margin-bottom: 4rem;
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
}

.contact-form-container {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

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

.contact-intro {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.contact-info-container {
    position: sticky;
    top: 100px;
}

.contact-info {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

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

.contact-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-detail h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-detail p {
    margin-bottom: 0;
    color: var(--text-light);
}

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

.social-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.map-section {
    margin-bottom: 4rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--bg-light);
}

.faq-section {
    margin-bottom: 4rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 4rem 0 0;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section p, .footer-section ul li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.footer-section p svg {
    margin-right: 0.5rem;
    vertical-align: middle;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.footer-section .social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-section .social-icons a:hover {
    background-color: white;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1.5rem 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cookie-content p {
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-more-info {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.success-notification {
    background-color: var(--success-color);
}

.notification.error-notification {
    background-color: var(--error-color);
}

.notification p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    :root {
        --container-width: 92%;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 991px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .site-title {
        margin-bottom: 1rem;
    }
    
    nav {
        width: 100%;
        margin-top: 1rem;
    }
    
    nav ul {
        justify-content: space-between;
    }
    
    .about-section-grid,
    .about-section-grid.reverse,
    .product-layout,
    .contact-layout,
    .checkout-layout,
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .about-section-image {
        order: -1;
    }
    
    .about-section-grid.reverse .about-section-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .benefit-card,
    .team-member,
    .product-card {
        transform: none !important;
    }
    
    .hero h2 {
        font-size: 2.25rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero h2 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .product-actions,
    .product-actions-large {
        flex-direction: column;
    }
    
    .tab-navigation {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
        border: 1px solid var(--border-color);
        margin-bottom: 0.5rem;
        border-radius: var(--border-radius);
    }
    
    .tab-btn.active {
        border-color: var(--primary-color);
    }
}
