@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-font: "Roboto", sans-serif;
    --secondary-font: "Inter", sans-serif;
    --primary-color: orange;
    --secondary-color: #FFE584;
    --light-color: #fff;
}

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

body {
    font-family: var(--primary-font);
    background-color: #fff;
    color: #333;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Header Styling ===== */
header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    background-color: #fdfdfd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid #ccc; /* Soft gray line, thinner */
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .nav_container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header .nav_container .logo_container {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .nav_container .logo_container .logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: transparent;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

/* Hover effect */
header .nav_container .logo_container .logo:hover {
    transform: scale(1.1); /* Slight zoom */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    background: rgba(255, 255, 255, 0.2); /* Soft glow */
    cursor: pointer;
}

/* ===== Menu Styling ===== */
header .nav_container .menu_container {
    flex: 1;
    display: flex;
    justify-content: center;
}

header .menu_list {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

header .menu_list li {
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 18px;
    color: #222;
    position: relative;
    cursor: pointer;
    padding: 8px 4px;
    transition: color 0.3s ease;
}

header .menu_list li::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

header .menu_list li:hover {
    color: var(--primary-color);
}

header .menu_list li:hover::after {
    width: 100%;
}

/* ===== Button Styling ===== */
header .btn_container {
    display: flex;
    align-items: center;
    gap: 16px;
}

header .btn_container button {
    padding: 14px 28px;
    font-size: 17px;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--primary-font);
    font-weight: 700;
    border-radius: 10px;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}

header .login_btn,
header .signup_btn {
    background: var(--primary-color);
    color: #fff;
}

header .login_btn:hover,
header .signup_btn:hover {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* ===== Menu Icon (Hamburger) Styling ===== */
.menu_icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #222;
    user-select: none;
    padding: 8px 12px;
}

/* ===== Responsive Styling ===== */
@media (max-width: 768px) {
    header .nav_container {
        width: 95%;
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
    }

    header .nav_container .logo_container {
        flex: 1 1 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    /* Show hamburger menu icon on mobile */
    .menu_icon {
        display: block;
        position: absolute;
        top: 18px; /* align vertically with header */
        right: 15px;
        z-index: 1100;
    }

    /* Hide menu by default on mobile */
    header .nav_container .menu_container {
        flex: 1 1 100%;
        justify-content: center;
        margin-bottom: 10px;
        display: none;
        background: #fdfdfd;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        right: 15px;
        width: 90%;
        max-width: 280px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        padding: 20px;
        flex-direction: column;
        z-index: 1050;
    }

    /* Show menu when active */
    header .nav_container .menu_container.active {
        display: flex;
    }

    header .menu_list {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    header .menu_list li {
        font-size: 16px;
        padding: 6px 0;
    }

    header .btn_container {
        flex: 1 1 100%;
        justify-content: center;
        gap: 12px;
        margin-bottom: 10px;
        display: none; /* optionally hide buttons on mobile */
    }

    header .btn_container button {
        padding: 12px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    header .menu_list {
        gap: 12px;
    }

    header .menu_list li {
        font-size: 14px;
    }

    header .btn_container button {
        padding: 10px 16px;
        font-size: 14px;
    }

    header .nav_container .logo_container .logo {
        width: 50px;
        height: 50px;
    }
}
/*Header Section Over */
/* Hero Section Container */

/* Hero Section Wrapper */
.hero-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Container for Slides */
.hero-container {
  width: 100%;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Slider Layout */
.slider {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease-in-out;
}

/* Each Slide */
.slide {
  min-width: 100%;
  height: 90vh;
  position: relative;
}

.slide img {
  width: 100%;
  height: 90%;
  object-fit: cover;
  display: block;
}
/* ===== Hero Section Responsive Styling ===== */
@media (max-width: 1024px) {
  .slide {
    height: 70vh; /* Slightly smaller height on tablets */
  }

  .slide img {
    height: 70vh;
  }
}

@media (max-width: 768px) {
  .slide {
    height: 60vh; /* Smaller height for smaller tablets and large phones */
  }

  .slide img {
    height: 60vh;
  }
}

@media (max-width: 480px) {
  .slide {
    height: 50vh; /* Compact height for phones */
  }

  .slide img {
    height: 50vh;
  }
}
/*Hero Section End */

/* Feature Section Start */
.feature_section {
    width: 100%;
    padding: 60px 0;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Section Title Styling */
.section_title {
    text-align: center;
    margin-bottom: 40px;
}

.section_title h2 {
    font-size: 36px;
    color: #222;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    font-weight: bold;
}

.section_title h2::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: orange;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}

/* Feature Container */
.feature_section .feature_container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

/* Feature Column Box */
.feature_section .feature_container .col {
    flex: 1 1 250px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    border: 2px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    outline: none;
}

/* Hover and Focus (click or keyboard) */
.feature_section .feature_container .col:hover,
.feature_section .feature_container .col:focus-within {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid orange;
}

/* Feature Content */
.feature_section .feature_container .col .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Icon Container - White and Orange Theme */
.feature_section .feature_container .col .icon_container {
    background-color: #fff;
    border: 2px solid #ffa500; /* orange border */
    padding: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 165, 0, 0.2);
}

.feature_section .feature_container .col .icon_container i {
    font-size: 26px;
    color: #ffa500; /* orange icon */
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover Effect on Card - Also affect Icon */
.feature_section .feature_container .col:hover .icon_container {
    background-color: #ffa500; /* orange background */
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(255, 165, 0, 0.3);
}

.feature_section .feature_container .col:hover .icon_container i {
    color: #ffffff; /* icon turns white on hover */
}


/* Font Awesome Icon */
.feature_section .feature_container .col .icon_container i {
    font-size: 28px;
    color: #00796b;
}

/* Title Text */
.feature_section .feature_container .col h3 {
    font-size: 22px;
    color: #333333;
    margin: 0;
}

/* Paragraph Text */
.feature_section .feature_container .col p {
    font-size: 16px;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}
/* ===== Feature Section Responsive Styling ===== */
@media (max-width: 1024px) {
  .feature_section {
    padding: 40px 0;
  }

  .section_title h2 {
    font-size: 30px;
  }

  .feature_section .feature_container {
    width: 95%;
    gap: 24px;
    justify-content: center; /* center columns on medium screens */
  }

  .feature_section .feature_container .col {
    flex: 1 1 45%; /* two columns layout on tablets */
    padding: 25px 15px;
  }

  .feature_section .feature_container .col h3 {
    font-size: 20px;
  }

  .feature_section .feature_container .col p {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .feature_section {
    padding: 30px 0;
  }

  .section_title h2 {
    font-size: 26px;
  }

  .feature_section .feature_container {
    flex-direction: column;
    gap: 20px;
    width: 90%;
  }

  .feature_section .feature_container .col {
    flex: 1 1 100%; /* single column layout on phones */
    padding: 20px 15px;
  }

  .feature_section .feature_container .col h3 {
    font-size: 18px;
  }

  .feature_section .feature_container .col p {
    font-size: 14px;
  }

  .feature_section .feature_container .col .icon_container {
    padding: 16px;
  }

  .feature_section .feature_container .col .icon_container i {
    font-size: 24px;
  }
}

/* Feature Section Over */

/* Trending Section */
.treading_section {
    background-color: #fff;
    padding: 20px 0 5px; /* Less vertical space */
}

.treading_container {
    width: 95%;
    margin: 0 auto;
    max-width: 1200px;
}

.title_container {
    text-align: center;
    margin-bottom: 20px;
}

.title_container h1 {
    font-size: 2em;
    color: #ff5e00;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.title_container h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #ff5e00;
    margin: 6px auto 0;
    border-radius: 2px;
}

.title_container p {
    font-size: 0.95em;
    color: #555;
    margin: 0 auto;
    max-width: 680px;
    line-height: 1.6;
}

/* Swiper Wrapper */
.content_container {
    padding: 0;
    margin: 0 auto;
}

.recommendedSwiper {
    border: none;
    padding: 0;
    background: none;
    box-shadow: none;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
}

/* Slide Layout */
.swiper-slide {
    flex: 0 0 auto;
    margin: 8px;
    max-width: 240px;
}
/* ===== Trending Section Responsive Styling ===== */
@media (max-width: 1024px) {
  .treading_section {
    padding: 15px 0 5px;
  }

  .treading_container {
    width: 95%;
  }

  .title_container h1 {
    font-size: 1.75em;
  }

  .title_container p {
    font-size: 0.9em;
    max-width: 90%;
  }

  .swiper-slide {
    max-width: 200px;
    margin: 6px;
  }
}

@media (max-width: 768px) {
  .title_container h1 {
    font-size: 1.5em;
  }

  .title_container p {
    font-size: 0.85em;
    max-width: 90%;
  }

  .swiper-slide {
    max-width: 160px;
    margin: 5px;
  }
}

@media (max-width: 480px) {
  .treading_section {
    padding: 10px 0 5px;
  }

  .title_container h1 {
    font-size: 1.3em;
  }

  .title_container p {
    font-size: 0.8em;
    max-width: 95%;
  }

  .swiper-slide {
    max-width: 120px;
    margin: 4px;
  }
}
/*Trending Section Over */

/* Special Offer Section */
.special_offer_section {
    background-color: #fff8f0; /* soft white with a warm tone */
    padding: 60px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.special_offer_container {
    max-width: 1200px;
    margin: 0 auto;
}

.title_container {
    text-align: center;
    margin-bottom: 40px;
}

.title_container h2 {
    color: #ff6a00;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.title_container h1 {
    color: #333;
    font-size: 36px;
    font-weight: bold;
}

.content_container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.product_card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 260px;
    cursor: pointer;
    border: 2px solid transparent; /* No default border */
}

.product_card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 106, 0, 0.3);
    background-color: #fff3e0; /* Light orange background */
    border: 2px solid #ff6a00; /* Show orange border */
}

.img_container {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #f7f7f7;
    border: none;
}

.img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.text_container {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: none;
}

.text_container h1 {
    font-size: 20px;
    color: #1a1a1a;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.text_container h3 {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    font-style: italic;
    margin: 0;
}

.rating p {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #ffb84d;
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.rating i {
    color: #fff;
    font-size: 14px;
}

.price {
    color: #ff6a00;
    font-size: 22px;
    font-weight: 700;
    margin-top: 10px;
    transition: color 0.3s ease;
}

/* Hover text color change */
.product_card:hover .text_container h1,
.product_card:hover .text_container h3,
.product_card:hover .price {
    color: #ff6a00;
}

/* Rating color on hover */
.product_card:hover .rating p {
    background-color: #ff6a00;
}

/* Optional Buy Now Button */
.buy_btn {
    margin-top: 10px;
    padding: 8px 18px;
    background-color: #ff6a00;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.buy_btn:hover {
    background-color: #e65c00;
}
.view_more_container {
    text-align: center;
    margin: 40px 0;
}

.view_more_btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff6600; /* Adjust to match your theme */
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.view_more_btn:hover {
    background-color: #e05500;
}
/* ===== Special Offer Section Responsive ===== */
@media (max-width: 1024px) {
  .special_offer_section {
    padding: 50px 15px;
  }

  .title_container h2 {
    font-size: 18px;
  }

  .title_container h1 {
    font-size: 30px;
  }

  .content_container {
    gap: 20px;
    justify-content: center;
  }

  .product_card {
    width: 220px;
  }

  .img_container {
    height: 220px;
  }

  .text_container h1 {
    font-size: 18px;
  }

  .text_container h3 {
    font-size: 13px;
  }

  .price {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .special_offer_section {
    padding: 40px 10px;
  }

  .title_container h2 {
    font-size: 16px;
  }

  .title_container h1 {
    font-size: 26px;
  }

  .content_container {
    gap: 15px;
    justify-content: center;
  }

  .product_card {
    width: 180px;
  }

  .img_container {
    height: 180px;
  }

  .text_container h1 {
    font-size: 16px;
  }

  .text_container h3 {
    font-size: 12px;
  }

  .price {
    font-size: 18px;
  }

  .buy_btn {
    font-size: 13px;
    padding: 6px 14px;
  }
}

@media (max-width: 480px) {
  .special_offer_section {
    padding: 30px 8px;
  }

  .title_container h2 {
    font-size: 14px;
  }

  .title_container h1 {
    font-size: 22px;
  }

  .content_container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .product_card {
    width: 90%;
    max-width: 320px;
  }

  .img_container {
    height: 200px;
  }

  .text_container h1 {
    font-size: 18px;
  }

  .text_container h3 {
    font-size: 12px;
  }

  .price {
    font-size: 18px;
  }

  .buy_btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .view_more_btn {
    padding: 10px 24px;
    font-size: 15px;
  }
}

/* special offer section over*/

/* flash sale section over*/
.flashsale-wrapper {
    background: #fff9f5; /* lighter milk white */
    padding: 60px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.flashsale-container {
    max-width: 1200px;
    margin: auto;
}

.flashsale-header {
    text-align: center;
    margin-bottom: 40px;
}

.flashsale-header h2 {
    font-size: 36px;
    color: #ff6600; /* orange */
    margin-bottom: 10px;
}

.flashsale-header p {
    font-size: 18px;
    color: #444;
}

.flashsale-timer {
    font-size: 22px;
    font-weight: bold;
    color: #cc5200; /* deeper orange */
    margin-top: 10px;
}

.flashsale-books {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.flashsale-card {
    background: #fff; /* pure white */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 320px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.flashsale-card:hover {
    transform: translateY(-5px);
}
.flashsale-card img {
    width: 100%;          /* Full width of the card */
    height: auto;         /* Maintain aspect ratio */
    object-fit: cover;    /* Cover entire area, but this can crop */
        max-height: 400px;
     /* No height limit, image takes natural height */
    display: block;
}



.flashsale-info {
    padding: 20px;
    text-align: center;
}

.flashsale-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.flashsale-info .author {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
}

.flashsale-info .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

.flashsale-info .sale-price {
    color: #ff6600; /* orange */
    font-size: 22px;
    font-weight: bold;
    margin: 5px 0 15px;
}

.flashsale-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #ff6600; /* orange */
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    cursor: pointer;
}

.flashsale-btn:hover {
    background-color: #cc5200; /* darker orange */
}

/* Optional: star icon color */
.flashsale-info .star-icon {
    color: #ff6600; /* orange star */
    margin-right: 5px;
}
/* ===== Flash Sale Section Responsive ===== */
@media (max-width: 1024px) {
  .flashsale-wrapper {
    padding: 50px 15px;
  }

  .flashsale-header h2 {
    font-size: 30px;
  }

  .flashsale-header p {
    font-size: 16px;
  }

  .flashsale-timer {
    font-size: 20px;
  }

  .flashsale-books {
    gap: 20px;
    justify-content: center;
  }

  .flashsale-card {
    width: 280px;
  }

  .flashsale-info h3 {
    font-size: 18px;
  }

  .flashsale-info .author {
    font-size: 14px;
  }

  .flashsale-info .original-price {
    font-size: 14px;
  }

  .flashsale-info .sale-price {
    font-size: 20px;
  }

  .flashsale-btn {
    padding: 8px 22px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .flashsale-wrapper {
    padding: 40px 10px;
  }

  .flashsale-header h2 {
    font-size: 26px;
  }

  .flashsale-header p {
    font-size: 14px;
  }

  .flashsale-timer {
    font-size: 18px;
  }

  .flashsale-books {
    gap: 15px;
  }

  .flashsale-card {
    width: 220px;
  }

  .flashsale-info h3 {
    font-size: 16px;
  }

  .flashsale-info .author,
  .flashsale-info .original-price {
    font-size: 13px;
  }

  .flashsale-info .sale-price {
    font-size: 18px;
  }

  .flashsale-btn {
    padding: 7px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .flashsale-wrapper {
    padding: 30px 8px;
  }

  .flashsale-header h2 {
    font-size: 22px;
  }

  .flashsale-header p {
    font-size: 13px;
  }

  .flashsale-timer {
    font-size: 16px;
  }

  /* Stack cards vertically on small screens */
  .flashsale-books {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

  .flashsale-card {
    width: 90%;
    max-width: 320px;
  }

  .flashsale-info h3 {
    font-size: 16px;
  }

  .flashsale-info .author,
  .flashsale-info .original-price {
    font-size: 13px;
  }

  .flashsale-info .sale-price {
    font-size: 18px;
  }

  .flashsale-btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}

/* Flash Sale Section Over*/

/* Testimonial Section Start */
.testimonial-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

.testimonial-container {
  max-width: 960px; /* Adjusted for 3 cards */
  margin: 0 auto;
}

.testimonial-title {
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
  font-weight: 700;
  letter-spacing: 1.2px;
  position: relative;
}

/* Removed the decorative underline */
/* .testimonial-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: orange; 
  margin: 12px auto 0;
  border-radius: 2px;
} */

.testimonial-slider {
  display: flex;
  gap: 30px; /* Slightly increased gap for bigger cards */
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-left: 10px;
  padding-right: 10px;
}

/* Hide scrollbar but keep scrolling */
.testimonial-slider::-webkit-scrollbar {
  display: none;
}
.testimonial-slider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px 25px 25px;
  width: 31%; /* 3 cards per row */
  min-width: 300px; /* Minimum width for responsiveness */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  cursor: grab;
  /* No border lines */
  border: none;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 28px rgba(230, 126, 34, 0.25);
}

.testimonial-text {
  font-style: italic;
  font-size: 17px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 25px;
  position: relative;
  padding-left: 35px;
}

/* Large opening quote */
.testimonial-text::before {
  content: "“";
  position: absolute;
  left: 5px;
  top: -10px;
  font-size: 45px;
  color: #e67e22;
  font-weight: 700;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 10px;
}

.testimonial-author img {
  width: 50px;       /* Set desired width */
  height: 50px;      /* Set desired height */
  border-radius: 50%; /* Makes image circular */
  object-fit: cover; /* Ensures image covers the box without distortion */
  flex-shrink: 0;    /* Prevent image from shrinking */
  border: none;      /* Removed any border lines */
  box-shadow: none;  /* Removed shadow if any */
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #e67e22; /* Softer border thickness - you can remove if you want no border */
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.4); /* subtle glow to highlight */
  transition: transform 0.3s ease;
  background-color: #fff; /* white background for cleaner edges */
}

/* Optional hover effect for a subtle zoom */
.testimonial-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.6);
}

.author-name {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.author-role {
  font-size: 14px;
  color: #888;
  margin: 2px 0 0;
}

/* ===== Testimonial Section Responsive ===== */
@media (max-width: 1024px) {
  .testimonial-container {
    max-width: 720px;
  }

  .testimonial-card {
    width: 45%;  /* 2 cards per row approx */
    min-width: unset; /* allow to shrink */
  }

  .testimonial-text {
    font-size: 16px;
    padding-left: 30px;
  }

  .testimonial-text::before {
    font-size: 40px;
    left: 4px;
    top: -8px;
  }

  .author-name {
    font-size: 17px;
  }

  .author-role {
    font-size: 13px;
  }

  .testimonial-avatar {
    width: 55px;
    height: 55px;
    border-width: 2px;
  }
}

@media (max-width: 1024px) {
  .testimonial-container {
    max-width: 720px;
  }

  .testimonial-card {
    width: 45%;  /* 2 cards per row approx */
    min-width: unset; /* allow to shrink */
  }

  .testimonial-text {
    font-size: 16px;
    padding-left: 30px;
  }

  .testimonial-text::before {
    font-size: 40px;
    left: 4px;
    top: -8px;
  }

  .author-name {
    font-size: 17px;
  }

  .author-role {
    font-size: 13px;
  }

  .testimonial-avatar {
    width: 55px;
    height: 55px;
    border-width: 2px;
  }
}

@media (max-width: 768px) {
  .testimonial-container {
    max-width: 100%;
    padding: 0 10px;
  }

  .testimonial-slider {
    overflow-x: auto;
  }

  .testimonial-card {
    width: 30%;  /* 3 cards per row */
    min-width: unset;
    padding: 15px 15px 20px;
  }

  .testimonial-text {
    font-size: 14px;
    padding-left: 20px;
  }

  .testimonial-text::before {
    font-size: 30px;
    left: 3px;
    top: -6px;
  }

  .author-name {
    font-size: 14px;
  }

  .author-role {
    font-size: 11px;
  }

  .testimonial-avatar {
    width: 40px;
    height: 40px;
    border-width: 1.5px;
  }
}

@media (max-width: 480px) {
  .testimonial-section {
    padding: 30px 10px;
  }

  .testimonial-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  /* Underline removed on small screens */
  /* .testimonial-title::after {
    width: 60px;
    height: 3px;
  } */

  .testimonial-container {
    max-width: 100%;
    padding: 0 5px;
  }

  .testimonial-slider {
    overflow-x: auto;
  }

  .testimonial-card {
    width: 30%;  /* 3 cards side by side */
    min-width: unset;
    padding: 12px 10px 15px;
  }

  .testimonial-text {
    font-size: 13px;
    padding-left: 18px;
    margin-bottom: 15px;
  }

  .testimonial-text::before {
    font-size: 28px;
    left: 2px;
    top: -5px;
  }

  .author-name {
    font-size: 13px;
  }

  .author-role {
    font-size: 10px;
  }

  .testimonial-avatar {
    width: 35px;
    height: 35px;
    border-width: 1.2px;
  }
}

/* Testimonial Section Over */


/* Blog Section Start */
.blog-section {
  background: #f0f0f5;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.blog-container {
  max-width: 1100px;
  margin: 0 auto;
}

.blog-title {
  text-align: center;
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 50px;
}

.blog-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.1);
  width: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
}

.blog-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-post-title {
  font-size: 20px;
  color: #34495e;
  margin: 0 0 10px;
}

.blog-excerpt {
  font-size: 16px;
  color: #7f8c8d;
  flex-grow: 1;
}

.blog-readmore-btn {
  align-self: flex-start;
  margin-top: 15px;
  text-decoration: none;
  background-color: #e67e22;
  color: white;
  padding: 8px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.blog-readmore-btn:hover {
  background-color: #cf711b;
}
/* ===== Blog Section Responsive ===== */
@media (max-width: 1024px) {
  .blog-container {
    max-width: 90%;
  }

  .blog-card {
    width: 45%; /* 2 cards per row approx */
  }

  .blog-post-title {
    font-size: 18px;
  }

  .blog-excerpt {
    font-size: 15px;
  }

  .blog-readmore-btn {
    padding: 7px 20px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .blog-container {
    max-width: 100%;
    padding: 0 10px;
  }

  .blog-card {
    width: 90%; /* Single card per row */
    margin: 0 auto;
  }

  .blog-img {
    height: 160px;
  }

  .blog-post-title {
    font-size: 17px;
  }

  .blog-excerpt {
    font-size: 14px;
  }

  .blog-readmore-btn {
    padding: 7px 18px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .blog-section {
    padding: 40px 10px;
  }

  .blog-title {
    font-size: 28px;
    margin-bottom: 35px;
  }

  .blog-card {
    width: 100%;
  }

  .blog-img {
    height: 140px;
  }

  .blog-post-title {
    font-size: 16px;
  }

  .blog-excerpt {
    font-size: 13px;
  }

  .blog-readmore-btn {
    padding: 6px 16px;
    font-size: 13px;
  }
}

/*Blog Section End */

.blog-post-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 30px;
  background-color: #fff9f4; /* soft warm background */
  border-radius: 15px;
  box-shadow: 0 14px 30px rgba(230, 126, 34, 0.15);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #3a3a3a;
}

.blog-post-container {
  text-align: left;
}

/* Alternative class names */
.blog-post-header {
  font-size: 2.8rem;
  color: black; /* warm orange */
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 1px;
  position: relative;
}

/* underline below title */
.blog-post-header::after {
  content: '';
  display: block;
  width: 110px;
  height: 5px;
  background-color: #e67e22;
  margin: 12px auto 25px auto;
  border-radius: 3px;
}



.blog-post-img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(230, 126, 34, 0.25);
  margin-bottom: 30px;
}

.blog-post-content {
  font-size: 1.2rem;
  line-height: 1.75;
  color: #4a4a4a;
  margin-bottom: 40px;
  text-align: justify;
}

.back-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #e67e22;
  color: white;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.35);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.back-btn:hover {
  background-color: #cf6b0b;
  box-shadow: 0 7px 22px rgba(207, 107, 11, 0.6);
}
/* ===== Blog Post Section Responsive ===== */
@media (max-width: 1024px) {
  .blog-post-section {
    max-width: 90%;
    padding: 35px 25px;
  }

  .blog-post-header {
    font-size: 2.4rem;
  }

  .blog-post-header::after {
    width: 90px;
    height: 4px;
    margin-bottom: 20px;
  }

  .blog-post-img {
    height: 260px;
    margin-bottom: 25px;
  }

  .blog-post-content {
    font-size: 1.1rem;
    margin-bottom: 35px;
  }

  .back-btn {
    padding: 11px 26px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .blog-post-section {
    max-width: 100%;
    padding: 30px 20px;
  }

  .blog-post-header {
    font-size: 2rem;
  }

  .blog-post-header::after {
    width: 75px;
    height: 4px;
    margin-bottom: 20px;
  }

  .blog-post-img {
    height: 220px;
    margin-bottom: 20px;
  }

  .blog-post-content {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .back-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .blog-post-section {
    margin: 30px 15px;
    padding: 25px 15px;
    border-radius: 12px;
  }

  .blog-post-header {
    font-size: 1.7rem;
  }

  .blog-post-header::after {
    width: 60px;
    height: 3px;
    margin-bottom: 15px;
  }

  .blog-post-img {
    height: 180px;
    margin-bottom: 15px;
  }

  .blog-post-content {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .back-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

/*footer section start */
.footer {
  background-color: white;
  color:black;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 30px;
  gap: 30px;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1 1 300px;
  min-width: 280px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #f4a261; /* warm orange accent */
}

.footer-about p {
  font-size: 1rem;
  line-height: 1.6;
  color:black;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: black;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #f4a261;
}

.footer-contact p {
  font-size: 1rem;
  margin-bottom: 12px;
  color:black;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact i {
  color: #f4a261;
  font-size: 1.2rem;
  min-width: 20px;
  text-align: center;
}

.footer-socials a {
  display: inline-block;
  margin-right: 15px;
  color:black;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #f4a261;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid orange;
  padding-top: 15px;
  font-size: 1.3rem;
  color:black;
}

.footer-bottom a {
  color: #f4a261;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #cf6b0b;
}
/* Footer Section Responsive */
@media (max-width: 1024px) {
  .footer-content {
    max-width: 90%;
    gap: 25px;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    flex: 1 1 45%;
    min-width: auto;
  }

  .footer-about h3,
  .footer-links h3,
  .footer-contact h3 {
    font-size: 1.4rem;
  }

  .footer-bottom {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 95%;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: center;
  }

  .footer-about p,
  .footer-contact p {
    justify-content: center; /* center icon and text */
  }

  .footer-links ul li {
    margin-bottom: 10px;
  }

  .footer-links ul li a {
    font-size: 1rem;
  }

  .footer-about h3,
  .footer-links h3,
  .footer-contact h3 {
    font-size: 1.3rem;
  }

  .footer-bottom {
    font-size: 1.1rem;
    padding-top: 10px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 30px 15px 15px;
  }

  .footer-about h3,
  .footer-links h3,
  .footer-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .footer-about p,
  .footer-contact p {
    font-size: 0.9rem;
  }

  .footer-links ul li a {
    font-size: 0.95rem;
  }

  .footer-socials a {
    font-size: 1.1rem;
    margin-right: 12px;
  }

  .footer-bottom {
    font-size: 1rem;
    padding-top: 8px;
  }
}

/* Footer Section Over */
/*special offer with seperate file Start */

.special_offer_section {
  padding: 40px;
  background-color: #fff9f4;
  text-align: center;
}

.offer_container h2 {
  font-size: 2rem;
  color: #ff4d00;
}

.offer_items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.offer_card {
  background: #ffffff;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 10px;
  width: 200px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.offer_card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.offer_card h3 {
  font-size: 1.1rem;
  margin: 10px 0;
}

.offer_card p {
  margin: 5px 0;
  color: #333;
}

.offer_card del {
  color: #888;
}

.offer_card .buy_now {
  background: #ff4d00;
  color: white;
  border: none;
  padding: 8px 16px;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.flashsale-timer {
  font-size: 1.5rem;
  margin-top: 30px;
  color: #d60000;
}
/*form style*/
/* Modal background */
.form-modal {
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow-y: auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Modal box */
.form-box {
  background: #fff;
  max-width: 400px;
  margin: 40px auto;
  padding: 30px 30px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border: 2px solid #ff9800;
}

/* Close button */
.form-box .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  transition: color 0.3s ease;
}
.form-box .close:hover {
  color: #444;
}

/* Form header */
.form-box h2 {
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  color: #ff6f00;
}

/* Input container */
.input-icon {
  position: relative;
  margin-bottom: 20px;
}

/* Icons inside input */
.input-icon i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #999;
}

.input-icon i.left-icon {
  left: 15px;
}

.input-icon i.right-icon {
  right: 15px;
  cursor: pointer;
}

/* Input fields */
.input-icon {
  position: relative;
  margin-bottom: 20px;
}

.input-icon input {
  width: 100%;
  padding: 12px 40px; /* padding-left and padding-right for space for icons */
  padding-left: 38px; /* Left space for the icon */
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.input-icon .left-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  pointer-events: none; /* makes it non-clickable */
}

.input-icon .right-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  cursor: pointer;
}


.input-icon input:focus {
  border-color: #ff9800;
  box-shadow: 0 0 6px #ff980088;
}

/* Options container (remember me & forgot password) */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 14px;
  color: #555;
}

.form-options label {
  cursor: pointer;
  user-select: none;
}

.form-options input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

/* Forgot password link */
.form-options a {
  color: #ff9800;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.form-options a:hover {
  text-decoration: underline;
  color: #e65100;
}

/* Submit button */
button[type="submit"] {
  width: 100%;
  padding: 14px;
  background-color: #ff9800;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #e65100;
}
.input-icon {
  position: relative;
  margin-bottom: 20px;
}

.input-icon input {
  width: 100%;
  padding: 12px 40px; /* padding-left and padding-right for space for icons */
  padding-left: 38px; /* Left space for the icon */
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.input-icon .left-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  pointer-events: none; /* makes it non-clickable */
}
/* Responsive Special Offer & Modal Form */

@media (max-width: 1024px) {
  .offer_items {
    gap: 15px;
    justify-content: flex-start;
  }
  
  .offer_card {
    width: 180px;
    padding: 12px;
  }

  .offer_container h2 {
    font-size: 1.8rem;
  }

  .flashsale-timer {
    font-size: 1.3rem;
    margin-top: 25px;
  }

  .form-box {
    max-width: 350px;
    padding: 25px 25px 35px;
  }

  button[type="submit"] {
    font-size: 16px;
    padding: 12px;
  }
}

@media (max-width: 768px) {
  .offer_items {
    flex-direction: column;
    align-items: center;
  }

  .offer_card {
    width: 90%;
    max-width: 320px;
  }

  .offer_container h2 {
    font-size: 1.6rem;
  }

  .flashsale-timer {
    font-size: 1.2rem;
    margin-top: 20px;
  }

  .form-box {
    margin: 30px auto;
    max-width: 90%;
    padding: 20px 20px 30px;
  }

  button[type="submit"] {
    font-size: 16px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .special_offer_section {
    padding: 30px 15px;
  }

  .offer_container h2 {
    font-size: 1.4rem;
  }

  .offer_card h3 {
    font-size: 1rem;
  }

  .offer_card p,
  .offer_card del {
    font-size: 0.9rem;
  }

  .offer_card .buy_now {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  .flashsale-timer {
    font-size: 1rem;
    margin-top: 15px;
  }

  .form-modal {
    padding: 20px 10px;
  }

  .form-box {
    padding: 15px 15px 25px;
    max-width: 95%;
  }

  .form-box h2 {
    font-size: 1.6rem;
  }

  .input-icon input {
    font-size: 13px;
    padding: 10px 36px 10px 34px;
  }

  button[type="submit"] {
    font-size: 14px;
    padding: 12px;
  }
}
