/* ============================================
   DRESS TO EDUCATE - STYLESHEET
   Vibrant, modern design inspired by Chezacheza
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Ranchers&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Color Palette - Based on Reference Design */
:root {
    --primary-yellow: #fdbf21;
    --bright-yellow: #fdbf21;
    --dark-yellow: #fdbf21;
    --white: #FFFFFF;
    --black: #000000;
    --orange: #FF6B35;
    --green: #2E7D32;
    --dark-green: #1B5E20;
    --blue: #2196F3;
    --purple: #9C27B0;
    --red: #F44336;
    --pink: #E91E63;
    --teal: #009688;
    --gray-light: #F5F5F5;
    --gray: #757575;
    --gray-dark: #424242;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles - Image Logo */
.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--orange);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--orange);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Currency Toggle Button */
.currency-toggle {
    background-color: var(--blue);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    min-width: 60px;
}

.currency-toggle:hover {
    background-color: var(--teal);
    transform: scale(1.05);
}

.currency-toggle:active {
    transform: scale(0.95);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.social-icons a:nth-child(1) { color: var(--teal); }
.social-icons a:nth-child(2) { color: var(--blue); }
.social-icons a:nth-child(3) { 
    background: linear-gradient(45deg, var(--purple), var(--pink));
    color: var(--white);
}
.social-icons a:nth-child(4) { color: var(--red); }

.btn-donate {
    background-color: var(--primary-yellow);
    color: var(--black);
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 0.9rem;
}

.btn-donate:hover {
    background-color: var(--dark-yellow);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
}

.cart-icon svg {
    width: 24px;
    height: 24px;
    color: var(--black);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--red);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    transition: all 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--bright-yellow) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-family: 'Ranchers', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-title span {
    display: block;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Image Collage */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-secondary:hover {
    background-color: var(--gray-light);
}

.btn-accent {
    background-color: var(--orange);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #E55A2B;
}

.btn-white {
    background-color: var(--white);
    color: var(--black);
}

.btn-white:hover {
    background-color: var(--gray-light);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--black);
}

.btn-block {
    width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 4rem 0;
}

.section-title {
    font-family: 'Ranchers', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--black);
}

/* Impact Stats */
.impact-stats {
    background-color: var(--gray-light);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-dark);
    font-weight: 600;
}

/* Video Section */
.video-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
}

.video-section .section-title {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.video-link {
    display: block;
    position: relative;
    width: 100%;
    text-decoration: none;
}

.thumbnail-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-link:hover .play-button svg circle {
    fill: rgba(255, 255, 255, 1);
}

.video-link:hover .play-button svg polygon {
    fill: #667eea;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.6));
}

/* Responsive video thumbnail */
@media (max-width: 768px) {
    .play-button svg {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 480px) {
    .play-button svg {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Products */
.featured-products,
.store-products {
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-image:hover .product-image-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--gray-dark);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

/* Store Filters */
.store-filters {
    background-color: var(--gray-light);
    padding: 2rem 0;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--gray);
    background-color: var(--white);
    color: var(--black);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--black);
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--bright-yellow) 100%);
    padding: 4rem 0;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-card.active {
    display: block;
}

.testimonial-quote {
    font-size: 4rem;
    color: var(--primary-yellow);
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--black);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--white);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--black);
}

/* Newsletter */
.newsletter {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 4rem 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.875rem 2rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Ranchers', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-family: 'Ranchers', cursive;
    font-size: 3rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* Page-specific backgrounds */
[data-page="about"] {
    background-image: url('about.png');
}

[data-page="how-it-helps"] {
    background-image: url('8.png');
}

[data-page="store"] {
    background-image: url('h2.jpeg');
}

[data-page="contact"] {
    background-image: url('h.jpeg');
}

/* About Page */
.about-content {
    padding: 4rem 0;
}

.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-family: 'Ranchers', cursive;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 1.2rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--gray-light);
    border-radius: 10px;
    transition: transform 0.3s;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-family: 'Ranchers', cursive;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--black);
}

.mission-card p {
    color: var(--gray-dark);
    line-height: 1.6;
}

.cta-section {
    background-color: var(--gray-light);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 3rem;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* How It Helps Page */
.impact-areas {
    padding: 4rem 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.impact-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.impact-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.impact-card p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.impact-stats-mini {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.impact-stats-mini .stat {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange);
}

.impact-stats-mini .stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.impact-stories {
    background-color: var(--gray-light);
    padding: 4rem 0;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.story-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.story-quote {
    font-size: 4rem;
    color: var(--primary-yellow);
    line-height: 1;
    margin-bottom: 1rem;
}

.story-text {
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.story-author {
    font-weight: 700;
    color: var(--black);
}

.funds-breakdown {
    padding: 4rem 0;
}

.breakdown-grid {
    max-width: 800px;
    margin: 0 auto;
}

.breakdown-item {
    margin-bottom: 2rem;
}

.breakdown-bar {
    width: 100%;
    height: 40px;
    background-color: var(--gray-light);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.breakdown-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-yellow), var(--orange));
    border-radius: 20px;
    transition: width 1s ease;
}

.breakdown-info h3 {
    font-family: 'Ranchers', cursive;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    color: var(--black);
}

.breakdown-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--black);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
    width: 50px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-family: 'Ranchers', cursive;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.contact-item p,
.contact-item a {
    color: var(--gray-dark);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--orange);
}

.contact-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-social a {
    padding: 0.5rem 1rem;
    background-color: var(--gray-light);
    border-radius: 4px;
    transition: background-color 0.3s;
}

.contact-social a:hover {
    background-color: var(--primary-yellow);
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--black);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--gray-light);
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.form-group textarea {
    resize: vertical;
}

.link-primary {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
}

.link-primary:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Ranchers', cursive;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-dark);
    color: var(--gray);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.5rem;
    color: var(--black);
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
    line-height: 1;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    text-align: center;
    color: var(--gray);
    padding: 2rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--orange));
    border-radius: 4px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--black);
}

.cart-item-price {
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--gray-light);
    background-color: var(--white);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--red);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.cart-total {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--black);
}

.cart-total span {
    color: var(--orange);
    font-size: 1.5rem;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .social-icons {
        display: none;
    }
    
    .currency-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        min-width: 50px;
    }
    
    .btn-donate {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .stats-grid,
    .steps-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PRODUCT GALLERY MODAL
   ============================================ */

.product-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.product-gallery-modal.active {
    display: flex;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.gallery-content {
    position: relative;
    background-color: var(--white);
    border-radius: 10px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.gallery-close:hover {
    background-color: var(--gray-light);
}

.gallery-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

.gallery-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.gallery-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--orange);
}

.gallery-main {
    position: relative;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background-color: var(--gray-light);
}

.gallery-main-image {
    width: 100%;
    max-width: 600px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
    z-index: 5;
}

.gallery-nav:hover {
    background-color: var(--primary-yellow);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    overflow-x: auto;
    justify-content: center;
    border-bottom: 1px solid var(--gray-light);
}

.gallery-thumbnail {
    width: 100px;
    height: 100px;
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: var(--orange);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-info {
    padding: 2rem;
    text-align: center;
}

.gallery-info p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.gallery-options {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 200px;
}

.option-group label {
    font-weight: 600;
    color: var(--black);
    font-size: 1rem;
}

.size-select,
.color-select {
    padding: 0.75rem;
    border: 2px solid var(--primary-yellow);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--black);
    cursor: pointer;
    transition: border-color 0.3s;
    font-family: 'Poppins', sans-serif;
}

.size-select:hover,
.color-select:hover,
.size-select:focus,
.color-select:focus {
    border-color: #267597;
    outline: none;
}

.cart-item-details {
    font-size: 0.9rem;
    color: #666;
    margin: 0.25rem 0;
    font-weight: 500;
}

.gallery-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CHECKOUT FORM MODAL
   ============================================ */

.checkout-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
}

.checkout-form-modal.active {
    display: flex;
}

.checkout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.checkout-form-content {
    position: relative;
    background-color: var(--white);
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    padding: 2rem;
    animation: modalSlideIn 0.3s ease;
}

.checkout-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
    line-height: 1;
}

.checkout-form-content h2 {
    font-family: 'Ranchers', cursive;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--black);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--primary-yellow);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--black);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #267597;
}

.order-summary {
    background-color: var(--gray-light);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.order-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.order-summary-table td {
    padding: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.order-summary-table .total-row {
    background-color: var(--primary-yellow);
    font-weight: 700;
}

.order-summary-table .total-row td {
    border-bottom: none;
    padding: 0.75rem 0.5rem;
}

.checkout-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

.checkout-actions .btn {
    flex: 1;
    max-width: 200px;
}

@media (max-width: 768px) {
    .checkout-form-content {
        width: 95%;
        padding: 1.5rem;
    }

    .checkout-form-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .checkout-actions .btn {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .gallery-content {
        width: 95%;
        max-height: 95vh;
    }

    .gallery-main {
        min-height: 300px;
        padding: 1rem;
    }

    .gallery-main-image {
        height: 300px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-prev {
        left: 0.5rem;
    }

    .gallery-next {
        right: 0.5rem;
    }

    .gallery-thumbnails {
        padding: 1rem;
        gap: 0.5rem;
    }

    .gallery-thumbnail {
        width: 80px;
        height: 80px;
    }

    .gallery-header,
    .gallery-info {
        padding: 1.5rem;
    }

    .gallery-actions {
        flex-direction: column;
    }

    .gallery-actions .btn {
        width: 100%;
    }
}

