
.hero-section {
    position: relative;
    padding: 8rem 2rem 4rem 2rem;
    text-align: center;
    /* background: radial-gradient(ellipse at center, rgba(55, 3, 243, 0.1) 0%, transparent 70%); */
    background:#e2e1a3;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: 
        radial-gradient(circle at 20% 80%, rgba(255, 102, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 133, 51, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 170, 102, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite; */
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.main-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FE5D26, #FE5D26, #FE5D26);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1rem 0;
    text-shadow: 0 0 30px rgba(255, 102, 0, 0.3);
    letter-spacing: -0.02em;
    transform: translateZ(50px);
}

.subtitle {
    font-size: 1.3rem;
    /* color: rgba(255, 255, 255, 0.8); */
    color: #00235a;
    margin-bottom: 3rem;
    font-weight: 300;
    transform: translateZ(30px);
}

.stats-panel {
    /* position: fixed; */
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 102, 0, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 102, 0, 0.2);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6600, #ff8533);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    text-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

.stat-label {
    font-size: 0.8rem;
    color: #00235a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    font-weight: 700 !important;
}

.productContainer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
}

.category-section {
    margin-bottom: 5rem;
    margin-top: 5rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 133, 51, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 102, 0, 0.2);
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-top: -110px !important;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6600, #ff8533);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 102, 0, 0.3);
    color: #ff5e14;
}

.size-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.size-label {
    font-size: 1rem;
    color: #ff5e14;
    font-weight: 600;
}

.size-dropdown {
    appearance: none;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.2), rgba(255, 133, 51, 0.2));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 102, 0, 0.3);
    color: #ffffff;
    padding: 12px 40px 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 150px;
    box-shadow: 
        0 8px 32px rgba(255, 102, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.size-dropdown:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 102, 0, 0.6);
    box-shadow: 
        0 15px 50px rgba(255, 102, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.size-dropdown:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 
        0 0 0 4px rgba(255, 102, 0, 0.3),
        0 15px 50px rgba(255, 102, 0, 0.4);
}

.size-selector::after {
    content: '▼';
    position: absolute;
    right: 15px;
    color: #ff6600;
    pointer-events: none;
    font-size: 0.9rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    perspective: 1000px;
}

.product-card {
    position: relative;
    height: 450px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.product-card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(-5deg) scale(1.02);
}

.product-card:hover .card-inner {
    border-color: rgba(255, 102, 0, 0.4);
    box-shadow: 
        0 30px 80px rgba(255, 102, 0, 0.2),
        0 0 50px rgba(255, 102, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: auto;  /* let image decide height */
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(255, 102, 0, 0.1),
        rgba(255, 133, 51, 0.05)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;  /* space around image */
}

.product-image {
    width: auto;        /* keep original aspect ratio */
    max-width: 100%;    /* responsive fit */
    height: auto;       /* keep natural height */
    max-height: 280px;  /* control height so cards not too big */
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    transition: all 0.6s ease;
}

.product-card:hover .product-image {
    transform: translateZ(30px) scale(1.1);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6600, #ff8533);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.4);
    transform: translateZ(50px);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateZ(50px) scale(1); }
    50% { transform: translateZ(50px) scale(1.05); }
}

.product-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.product-card:hover .product-glow {
    opacity: 1;
}

.product-info {
    padding: 0.75rem;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transform: translateZ(10px);
}

.product-name {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff5e14;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.product-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1rem 0;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px) translateZ(-10px);
    transition: all 0.6s ease;
}

.product-card:hover .product-description {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    background: linear-gradient(135deg, #ff6600, #ff8533);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
}

.product-button {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.2), rgba(255, 133, 51, 0.2));
    border: 1px solid rgba(255, 102, 0, 0.3);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(20px);
}

.product-card:hover .product-button {
    opacity: 1;
    transform: translateX(0);
}

.product-button:hover {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.4), rgba(255, 133, 51, 0.4));
    border-color: rgba(255, 102, 0, 0.6);
    transform: translateY(-2px);
}

.product-card[data-size] {
    display: none;
}

.product-card.active {
    display: block;
}

/* Style the dropdown itself */
select {
  background-color: #000;      /* black background */
  color: #ff5e14;               /* orange text */
  border: 2px solid #ff5e14;    /* border to match */
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

/* Change background when user hovers over the select box */
select:hover {
  /* background-color: #ff5e14; */
  color: #fff;  /* white text */
}

/* Style the options inside dropdown */
select option {
  background-color: #000;   /* black background */
  color: #ff5e14;            /* orange text */
  padding: 8px;
}

/* Hover effect for options (works in most browsers) */
select option:hover {
  background-color: #ff5e14 !important;
  color: #fff;
}

/* Home page product section css */
.home-products-section {
  padding: 2rem 1rem;
  background: #fff;
  overflow: hidden;
}

.home-section-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #00235a;
}

.home-products-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}
.home-products-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.home-product-card {
  flex: 0 0 auto;
  width: 250px;
  text-decoration: none;
  color: inherit;
  background: #fafafa;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: transform 0.5s ease;
}
.home-product-card:hover {
  transform: translateY(-5px);
}

.home-product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 10px 10px 0 0;
  background-color: #e2e1a3;
}

.home-product-info {
  padding: 0.5rem;
  text-align: center;
  background-color: #e2e1a3;
}
.home-product-info h4 {
  font-size: 0.9rem;
  font-weight: 500;
}
/* Home page product section css end */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .main-title {
        font-size: 3rem;
    }

    .stats-panel {
        gap: 2rem;
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 1rem 3rem 1rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    /* .container {
        padding: 2rem 1rem;
    } */

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card {
        height: 400px;
    }

    .category-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
    }

    .category-title {
        font-size: 2rem;
    }

    .stats-panel {
        gap: 1.5rem;
        padding: 0.8rem 1rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .size-dropdown {
        min-width: 120px;
        padding: 10px 30px 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 5rem 1rem 2rem 1rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .product-card {
        height: 350px;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .stats-panel {
        gap: 1rem;
        padding: 0.6rem 0.8rem;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.5rem;
        letter-spacing: 0.5px;
    }

    .size-dropdown {
        min-width: 100px;
        padding: 8px 25px 8px 12px;
        font-size: 0.8rem;
    }

    .category-header {
        padding: 1rem;
    }

    .product-info {
        padding: 1.5rem;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .main-title {
        font-size: 1.8rem;
    }

    .stats-panel {
        gap: 0.8rem;
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.45rem;
    }

    .size-dropdown {
        min-width: 90px;
        padding: 6px 20px 6px 10px;
        font-size: 0.75rem;
    }
}
