/* Custom CSS Variables */
:root {
    --brand-primary: #C84228;
    --brand-secondary: #A63520;
    --brand-light: rgba(200, 66, 40, 0.2);
    --gradient-start: #f8fafc;
    --gradient-middle: #fff7ed;
    --gradient-end: #fef2f2;
}

/* Global Styles */


/* Hero Section */
.hero-section {
    /* min-height: 100vh;*/
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-middle) 50%, var(--gradient-end) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Typography */
.hero-title {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.3rem;
}

.brand-gradient {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    color: #64748b;
    line-height: 1.5;
    max-width: 1200px;
    margin: 0 auto;
}

/* Button Styles */
.btn-brand {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    font-weight: 400;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 66, 40, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-brand:hover {
    background-color: var(--brand-secondary);
    border-color: var(--brand-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 101, 70, 0.4);
}

.btn-brand .arrow-icon {
    transition: transform 0.3s ease;
}

.btn-brand:hover .arrow-icon {
    transform: translateX(5px);
}

/* Floating Categories */
.floating-categories {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    /* FIXED: Increased z-index significantly */
}

.floating-item {
    position: absolute;
    opacity: 1;
    /* FIXED: Changed from 0 to 1 for immediate visibility */
    transform: translateY(0);
    /* FIXED: Start in final position */
    transition: all 1s ease;
    pointer-events: auto;
    /* FIXED: Allow interaction */
}

.floating-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.category-card {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    /* FIXED: Increased shadow */
    transition: transform 0.3s ease;
    background: white;
    position: relative;
}

.category-card:hover {
    transform: scale(1.1) rotate(2deg);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* FIXED: Ensure images display properly */
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, var(--brand-light) 0%, transparent 70%);
}

.category-label {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

/* Floating Item Positions - FIXED: Made more visible */
.top-left {
    top: 15%;
    left: 8%;
    width: 4rem;
    height: 4rem;
    animation: float-1 6s ease-in-out infinite;
}

.top-right {
    top: 20%;
    right: 8%;
    width: 4rem;
    height: 4rem;
    animation: float-2 6s ease-in-out infinite;
}

.middle-right {
    top: 45%;
    right: 5%;
    width: 4rem;
    height: 4rem;
    animation: float-3 6s ease-in-out infinite;
}

.bottom-right {
    bottom: 20%;
    right: 12%;
    width: 4rem;
    height: 4rem;
    animation: float-4 6s ease-in-out infinite;
}

.bottom-left {
    bottom: 15%;
    left: 12%;
    width: 4rem;
    height: 4rem;
    animation: float-5 6s ease-in-out infinite;
}

.middle-left {
    top: 45%;
    left: 5%;
    width: 4rem;
    height: 4rem;
    animation: float-6 6s ease-in-out infinite;
}

/* Background Decorations */
.bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.bg-circle-1 {
    top: 10%;
    left: 5%;
    width: 12rem;
    height: 12rem;
    background: var(--brand-light);
    animation: pulse-slow 4s infinite;
}

.bg-circle-2 {
    bottom: 10%;
    right: 5%;
    width: 12rem;
    height: 12rem;
    background: rgba(251, 146, 60, 0.3);
    animation: pulse-slow 4s infinite;
    animation-delay: 2s;
}

.bg-circle-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25rem;
    height: 25rem;
    background: rgba(200, 66, 40, 0.05);
}

@media (min-width: 768px) and (max-width: 992px) {
  .custom-width-md {
    flex: 0 0 70% !important; /* Or 80%, 90% — your choice */
    max-width: 70% !important;
  }
}

/* Animations */
@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes float-1 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-10px) rotate(1deg);
    }

    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

@keyframes float-2 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-8px) rotate(-1deg);
    }

    66% {
        transform: translateY(6px) rotate(1deg);
    }
}

@keyframes float-3 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-12px) rotate(1deg);
    }

    66% {
        transform: translateY(4px) rotate(-1deg);
    }
}

@keyframes float-4 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-6px) rotate(-1deg);
    }

    66% {
        transform: translateY(8px) rotate(1deg);
    }
}

@keyframes float-5 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-9px) rotate(1deg);
    }

    66% {
        transform: translateY(3px) rotate(-1deg);
    }
}

@keyframes float-6 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-7px) rotate(-1deg);
    }

    66% {
        transform: translateY(7px) rotate(1deg);
    }
}

/* Responsive Design */

/* Small devices (576px and up) */
@media (min-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .floating-item {
        width: 5rem;
        height: 5rem;
    }

    .top-left {
        top: 18%;
        left: 10%;
    }

    .top-right {
        top: 22%;
        right: 10%;
    }

    .middle-right {
        right: 8%;
    }

    .bottom-right {
        right: 15%;
    }

    .bottom-left {
        left: 15%;
    }

    .middle-left {
        left: 8%;
    }

    .category-label {
        font-size: 0.8rem;
    }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .floating-item {
        width: 6rem;
        height: 6rem;
    }

    .top-left {
        top: 20%;
        left: 12%;
    }

    .top-right {
        top: 25%;
        right: 12%;
    }

    .middle-right {
        right: 10%;
    }

    .bottom-right {
        right: 18%;
    }

    .bottom-left {
        left: 18%;
    }

    .middle-left {
        left: 10%;
    }

    .bg-circle-1,
    .bg-circle-2 {
        width: 16rem;
        height: 16rem;
    }

    .bg-circle-3 {
        width: 30rem;
        height: 30rem;
    }

    .category-label {
        font-size: 0.85rem;
    }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .floating-item {
        width: 6.5rem;
        height: 6.5rem;
    }

    .top-left {
        left: 18%;
        top: 38%;
    }

    .top-right {
        right: 15%;
        top: 38%;
    }

    .middle-right {
        right: 12%;
        top: 61%;
    }

    .bottom-right {
        right: 20%;
        top: 82%;
    }

    .bottom-left {
        left: 20%;
        top: 82%;
    }

    .middle-left {
        left: 12%;
        top: 60%;
    }

    .category-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .floating-item {
        display: none;
    }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .floating-item {
        width: 6.5rem;
        height: 6.5rem;
    }

    .btn-brand {
        font-size: 1.2rem;
        font-weight: 400;
    }

    .bg-circle-1,
    .bg-circle-2 {
        width: 20rem;
        height: 20rem;
    }

    .bg-circle-3 {
        width: 35rem;
        height: 35rem;
    }

    .category-label {
        font-size: 1rem;
    }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .floating-item {
        width: 7.5rem;
        height: 7.5rem;
    }
}

/* Mobile specific adjustments */
@media (max-width: 575px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .btn-brand {
        font-size: 0.9rem;
        padding: 0.75rem 2rem;
    }

    .floating-item {
        width: 3rem;
        height: 3rem;
    }

    .category-label {
        font-size: 0.7rem;
        bottom: 0.25rem;
    }

    .top-left {
        top: 12%;
        left: 5%;
    }

    .top-right {
        top: 15%;
        right: 5%;
    }

    .middle-right {
        right: 2%;
    }

    .bottom-right {
        right: 8%;
    }

    .bottom-left {
        left: 8%;
    }

    .middle-left {
        left: 2%;
    }
}


@media screen and (min-width: 993px) and (max-width: 1199px) {
  /* Custom styles for iPad 10th Gen in this range */
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 85%;
    margin: 0 auto;
  }

  .explore-btn {
    font-size: 1rem;
    padding: 0.75rem 2rem;
  }

  .central-product .main-product-img {
    max-width: 100%;
    height: auto;
  }

  .floating-categories .category-card {
    transform: scale(0.9);
  }

  .floating-categories .category-label {
    font-size: 0.9rem;
  }

  /* Adjust spacing if needed */
  .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}




/* become a partner */

.partner-card {
    background: #fff;
    border: 1px solid #913320;
    transition: all 0.3s ease;
    padding: 20px 5px 5px 20px;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: #C84228;
}

@media (min-width: 992px) {
    .partner-card {
        transition: all 0.3s ease;
    }

    .partner-card:hover {
        box-shadow: 0 0 15px 4px rgba(0, 0, 0, 0.1);
        /* blurred shadow all around */
        border-color: #C84228;
        /* your brand primary color */
        transform: translateY(-4px);
        /* optional: subtle lift effect */
    }

    .partner-card:hover {
        box-shadow: 0 0 40px rgba(200, 66, 40, 0.3);
        /* blurred glow in your brand color */
    }
}

.arrow-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    margin-bottom: 20px;
}

.partner-card h6 {
    font-size: 20px;
}

.partner-card p {
    font-size: 17px;
}


.arrow-circle {
    width: 40%; /* slightly larger to accommodate text */
    height: 40px;
    border-radius: 20px;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.join-now-btn {
  min-width: 100px;
  white-space: nowrap;
  padding: 6px 12px;
}


/* Responsive adjustments */
@media (max-width: 576px) {
    .arrow-circle {
        width: 80px;
        height: 40px;
        font-size: 18px;
    }
}

@media (min-width: 993px) and (max-width: 1199px) {
    .arrow-circle {
        width: 45%;
        height: 40px;
        font-size: 18px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .arrow-circle {
        width: 40%;
        height: 35px;
        font-size: 18px;
    }
}


/* our quality */

.quality-left {
    background: url('/static/images/pages/home/our_quality.png') center center/cover no-repeat;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.quality-overlay {
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.quality-left .z-2 {
    z-index: 2;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(231, 76, 60, 0.85);
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 32px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.play-button:hover {
    background-color: rgba(231, 76, 60, 1);
}

@media (max-width: 768px) {
    .play-button {
        left: 50%;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

.custom-border-start {
    border-left-width: 6px !important;
    /* Adjust the width as needed */
}


/* Tablet responsiveness (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .quality-left {
        padding: 1rem !important;
    }

    .quality-left p {
        font-size: 1rem;
    }

    .quality-left h4 {
        font-size: 1.2rem;
        font-weight: 400;
    }

    .quality-left h3 {
        font-size: 1.5rem;
    }

    .custom-border-start {
        border-left-width: 4px !important;
    }

    /* Existing left side styles remain unchanged */

    .our-quality-section .ratio {
        height: 100%;
    }

    .our-quality-section img {
        object-fit: cover;
        height: 100%;
    }

    .play-button {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

}



/* slider app details */

.carousel-indicators [data-bs-target] {
    background-color: #000;
    opacity: 0.3;
    margin: 0 4px;
}

.carousel-indicators {
    margin-bottom: -15px;
}

.carousel-indicators .active {
    opacity: 1;
}

/* Image scaling for different breakpoints */
.partner-carousel-img {
    max-width: 225px;
}

@media (min-width: 576px) {
    .partner-carousel-img {
        max-width: 300px;
    }
}

@media (min-width: 768px) {
    .partner-carousel-img {
        max-width: 350px;
    }
}

@media (min-width: 992px) {
    .partner-carousel-img {
        max-width: 350px;
    }
}

/* Font resizing for headings and paragraph text */
.partner-title {
    font-size: 1.25rem;
}

.partner-text {
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .partner-title {
        font-size: 1.8rem;
    }

    .partner-text {
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    .partner-carousel-img {
        max-width: 280px !important;
        margin: 0 auto;
        display: block;
    }

    .partner-title {
        font-size: 1.6rem;
    }

    .partner-text {
        font-size: 1.05rem;
        line-height: 1.6;
        padding-right: 1rem;
    }

    .carousel-item .col-md-5,
    .carousel-item .col-md-7 {
        padding: 1rem;
    }

    .carousel-indicators {
        margin-bottom: -25px;
    }
}

/* our features */
.feature-box {
    text-align: center;
    padding: 15px;
    border: 1px solid #C84228;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-box img {
    width: 100px;
    height: 100px;
}

.feature-title {
    font-weight: bold;
    margin-top: 10px;
}

.carousel-item {
    padding: 20px;
}

@media (max-width: 768px) {

    .feature-box {
        flex-direction: column !important;
        text-align: center;
    }

    .feature-box img {
        width: 100px;
        height: 100px;
    }
}



/* font sizes */

/* Default (for large devices) */

p {
    font-size: 1.16rem;
}

/* Medium devices (tablets, 768px and down) */
@media (max-width: 768px) {

    p {
        font-size: 1rem;
    }
}

/* Small devices (phones, 576px and down) */
@media (max-width: 576px) {

    p {
        font-size: 0.95rem;
    }
}