:root {
    --primary-color: #FF78AC;
    --secondary-color: #A8D5E3;
    --accent-color: #F2F0EA;
    --text-color: #333333;
    --background-color: #F2F0EA;
    --gradient: linear-gradient(135deg, var(--primary-color), #ff9bc4);
}



/* Book Section */
#book {
    padding: 8rem 1rem;
    background-color: white;
}

.book-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.book-mockup {
    flex: 1;
    position: relative;
}

.book-cover {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.3s ease;
}

.book-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: rgba(0,0,0,0.2);
    filter: blur(10px);
    border-radius: 50%;
}

.book-info {
    flex: 1;
}

.book-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.book-tags span {
    background-color: var(--secondary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
    color: var(--text-color);
}

.book-tags span:hover {
    transform: translateY(-3px);
    background-color: rgba(151, 7, 71, 0.2);
}

/* Testimonials Section */
#testimonials {
    padding: 8rem 1rem;
    background-color: var(--background-color);
}

.testimonial-swiper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 1rem;
}

.testimonial-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

.testimonial-content {
    padding: 2rem;
    position: relative;
}

.testimonial-content i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

/* Details Section */
#details {
    padding: 8rem 1rem;
    /* background: url('https://images.pexels.com/photos/1571463/pexels-photo-1571463.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') center/cover fixed; */
    position: relative;
}

#details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
}

.details-container {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
}

.detail-item {
    text-align: center;
    padding: 3rem 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.detail-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.detail-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Purchase Section */
#purchase {
    padding: 8rem 1rem;
    background-color: white;
}

.purchase-container {
    max-width: 800px;
    margin: 2rem auto;
}

.price-card {
    background-color: var(--accent-color);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.card-header {
    margin-bottom: 2rem;
    position: relative;
}

.card-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-header h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.price-container {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.price-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.5);
    border-radius: 12px;
    border: 2px solid rgba(255,120,172,0.2);
}

.original-price {
    text-decoration: line-through;
    color: #666;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    position: relative;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
}

.price {
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 0;
    padding: 0.5rem 2rem;
    background: rgba(255,120,172,0.1);
    border-radius: 12px;
    position: relative;
}

.discount-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, #ff78ac, #ff9bc4);
    color: var(--accent-color);
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255,120,172,0.3);
    transform: rotate(5deg);
    z-index: 1;
}

.savings {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0.5rem 0;
    padding: 0.5rem 1.5rem;
    background: rgba(255,120,172,0.1);
    border-radius: 20px;
    display: inline-block;
}

.offer-tag {
    background: linear-gradient(135deg, #ff78ac, #ff9bc4);
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    animation: pulse-zoom 2s ease-in-out infinite;
    animation-delay: 1s;
    box-shadow: 0 4px 15px rgba(255,120,172,0.2);
}

.countdown-section {
    background: rgba(255,255,255,0.8);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.countdown-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.timer-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff78ac;
    font-weight: bold;
    font-size: 1.1rem;
}

.timer-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #ff78ac, #ff9bc4);
    color: var(--accent-color);
    padding: 0.8rem;
    border-radius: 10px;
    min-width: 70px;
}

.time-block span:first-child {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: monospace;
}

.time-label {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    opacity: 0.9;
}

.time-separator {
    color: #ff78ac;
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: -0.5rem;
}

.urgency-message {
    color: #ff78ac;
    font-weight: bold;
    font-size: 1rem;
    margin: 1rem 0;
    padding: 0.8rem;
    background: rgba(255,255,255,0.5);
    border-radius: 10px;
    text-align: center;
    animation: pulse-zoom 2s ease-in-out infinite;
}

.features {
    background: rgba(255,255,255,0.8);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.features h4 {
    color: #ff78ac;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.features ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.features li:hover {
    transform: translateY(-2px);
}

.features li i {
    color: #ff78ac;
}

.payment-options {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

.payment-options form {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff78ac;
    font-size: 0.9rem;
}

.trust-item i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .price-container {
        padding: 1.5rem;
    }

    .price-wrapper {
        padding: 0.8rem;
    }

    .original-price {
        font-size: 1.5rem;
        padding: 0.4rem 0.8rem;
    }

    .price {
        font-size: 2.8rem;
        padding: 0.4rem 1.5rem;
    }

    .discount-badge {
        font-size: 1rem;
        padding: 0.6rem 1rem;
        top: -10px;
        right: -10px;
    }

    .savings {
        font-size: 1rem;
        padding: 0.4rem 1.2rem;
    }

    .offer-tag {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .time-block {
        min-width: 60px;
        padding: 0.6rem;
    }

    .time-block span:first-child {
        font-size: 1.5rem;
    }

    .trust-badges {
        gap: 1rem;
    }

    .features ul {
        grid-template-columns: 1fr;
    }

    .payment-options {
        padding: 0 1rem;
    }
    
    .payment-options form {
        max-width: 100%;
    }
    
 
}

/* Footer */
footer {
    background: linear-gradient(135deg, #ff78ac, #ff9bc4);
    color: var(--accent-color);
    padding: 4rem 1rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

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

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.brand-tagline {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-contact h3,
.footer-social h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.contact-details a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-details i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-contact h3::after,
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-details a {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Responsive Design */


/* Section Headers */
section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.5rem;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Offer Banner */
.offer-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--gradient, var(--gradient-fallback));
    color: white;
    padding: 1rem;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.offer-banner.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.offer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex: 1;
    position: relative;
    padding-right: 40px;
}

.offer-content i {
    font-size: 1.5rem;
}

.banner-timer {
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: bold;
}

.offer-cta {
    background: white;
    color: #ff78ac;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 0 1rem;
}

.offer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.close-offer {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1002;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.close-offer:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .offer-banner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .offer-content {
        flex-direction: column;
        gap: 0.5rem;
        padding-right: 0;
    }

    .close-offer {
        top: 5px;
        right: 5px;
    }

    .offer-cta {
        margin: 0.5rem 0;
        width: 100%;
        max-width: 200px;
    }
    
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-details p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-details i {
    color: #ff6b6b;
    font-size: 1.1rem;
}

.contact-details a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #ff6b6b;
}

@keyframes pulse-zoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.offer-tag {
    background: linear-gradient(135deg, #ff78ac, #ff9bc4);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    animation: pulse-zoom 2s ease-in-out infinite;
    animation-delay: 1s;
}

.buy-now-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #ff7eb0;
    color: #2c2a2a;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 126, 176, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
    margin-bottom: 1rem;
}

.buy-now-button:hover {
    transform: translateY(-3px);
    background-color: #ff9bc4;
    box-shadow: 0 6px 20px rgba(255, 126, 176, 0.4);
}

.buy-now-button.secondary {
    background-color: #ff7eb0;
    color:  #2c2a2a;
    box-shadow: 0 4px 15px rgba(255, 126, 176, 0.3);
}

.buy-now-button.secondary:hover {
    background-color: #ff9bc4;
    box-shadow: 0 6px 20px rgba(255, 126, 176, 0.4);
}

.buy-now-button i {
    font-size: 1.2rem;
}

.buy-now-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 120, 172, 0.3);
}

.buy-now-button.secondary:active {
    box-shadow: 0 4px 15px rgba(168, 213, 227, 0.3);
}

.payment-options {
    text-align: center;
    padding: 1rem;
    margin: 1rem 0;
}

#razorpay-button-container {
    margin-top: 1rem;
}

/* Add a pulse animation for the button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(139, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(139, 0, 0, 0);
    }
}

.buy-now-button {
    animation: pulse 2s infinite;
}

/* Responsive styles */
@media (max-width: 768px) {
    .buy-now-button {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
}

.footer-policies {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-policies h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.policy-links {
    color: #fff !important;
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.policy-links a,
.policy-links a:link,
.policy-links a:visited,
.policy-links a:hover,
.policy-links a:active {
    color: #F2F0EA !important;
    color: var(--accent-color) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.policy-links a:hover {
    opacity: 0.8 !important;
}

@media (max-width: 768px) {
    .policy-links {
        flex-direction: column;
        gap: 10px;
    }
} 

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #8b0000;
}

.modal h2 {
    color: #8b0000;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #8b0000;
    outline: none;
}

#customerDetailsForm .cta-button {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #A8D5E3, #7bc5d9);
    color: #333333;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 213, 227, 0.3);
}

#customerDetailsForm .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(168, 213, 227, 0.4);
    background: linear-gradient(135deg, #7bc5d9, #A8D5E3);
}

#customerDetailsForm .cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(168, 213, 227, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        margin: 20% auto;
        padding: 1.5rem;
    }
    
    .modal h2 {
        font-size: 1.5rem;
    }
    
    .form-group input {
        padding: 0.7rem;
    }
} 

/* Loader Styles */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem; /* Space before the button */
}

.loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid var(--primary-color); /* Primary color */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 