:root {
    --primary-color: #F7A8B8;
    --secondary-color: #5D4037;
    --accent-color: #FFD54F;
    --light-color: #FFF9F2;
    --dark-color: #3E2723;
    --text-color: #4E342E;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--dark-color);
}

h1 {
    font-size: 3.8rem;
    font-family: 'Dancing Script', cursive;
    color: var(--primary-color);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-family: 'Playfair Display', serif;
}

h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: -10px;
    left: 0;
    border-radius: 3px;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo-container:hover {
    transform: scale(1.03);
}

.logo-img-container {
    position: relative;
    margin-right: 20px;
}

.logo-circle {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), #FFB6C1);
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(247, 168, 184, 0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 50%;
}

.logo-circle:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 1%, transparent 20%);
    transform: rotate(30deg);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 5px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 35px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.15rem;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
    display: inline-block;
}

nav ul li a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: 0;
    left: 0;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

nav ul li a:hover:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
}

nav ul li a.active:after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark-color);
    transition: color 0.3s;
}

.mobile-menu:hover {
    color: var(--primary-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(255, 249, 242, 0.9), rgba(255, 249, 242, 0.95)), url('https://images.unsplash.com/photo-1555507036-ab794f27d2e9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23f7a8b8' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    margin-bottom: 30px;
}

.page-intro {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
    line-height: 1.8;
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
}

.section-title p {
    font-size: 1.3rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 25px auto 0;
    line-height: 1.8;
}

/* Review Buttons Container */
.review-buttons-container {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.review-btn, .watch-reviews-btn {
    background: linear-gradient(135deg, var(--primary-color), #FF80AB);
    color: white;
    border: none;
    padding: 20px 50px;
    border-radius: 35px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    font-size: 1.3rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(247, 168, 184, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
    justify-content: center;
}

.watch-reviews-btn {
    background: linear-gradient(135deg, var(--secondary-color), #795548);
}

.watch-reviews-btn:hover {
    background: linear-gradient(135deg, #4E342E, #5D4037);
}

.review-btn:hover {
    background: linear-gradient(135deg, var(--dark-color), #5D4037);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(247, 168, 184, 0.4);
}

.watch-reviews-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(93, 64, 55, 0.4);
}

.review-btn i, .watch-reviews-btn i {
    font-size: 1.5rem;
}

/* Review Form Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.review-form-popup {
    background-color: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
}

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

.close-popup {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.8rem;
    color: var(--dark-color);
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10;
}

.close-popup:hover {
    background-color: rgba(247, 168, 184, 0.15);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.review-form-popup h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--dark-color);
    font-family: 'Playfair Display', serif;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: var(--light-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(247, 168, 184, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Star Rating */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 10px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--accent-color);
}

.star-rating input:checked + label:hover,
.star-rating input:checked ~ label:hover,
.star-rating label:hover ~ input:checked ~ label,
.star-rating input:checked ~ label:hover ~ label {
    color: var(--accent-color);
}

.rating-text {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), #FF80AB);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 35px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    width: 100%;
    font-size: 1.2rem;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(247, 168, 184, 0.3);
    margin-top: 20px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--dark-color), #5D4037);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(247, 168, 184, 0.4);
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.review-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.review-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 6rem;
    color: rgba(247, 168, 184, 0.1);
    font-family: serif;
    line-height: 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(247, 168, 184, 0.3);
}

.reviewer-details h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.review-date {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* FIX: Stars ko ek line mein rakho */
.review-stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    white-space: nowrap;
    display: inline-block;
}

.review-content {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-color);
}

.review-product {
    font-style: italic;
    color: #ff528c;
    font-family: 'Poppins', sans-serif;
    font-weight: bolder;
    font-size: large;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* No Reviews Message */
.no-reviews {
    text-align: center;
    padding: 60px;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    grid-column: 1 / -1;
}

.no-reviews i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.no-reviews h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.no-reviews p {
    color: var(--text-color);
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 100px 0 40px;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M500,97C126.7,96.3,0.8,19.8,0,0v100l1000,0V0C999.2,19.8,873.3,96.3,500,97z' fill='%233E2723'/%3E%3C/svg%3E");
    background-size: 100% 120px;
    background-position: top;
    background-repeat: no-repeat;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-about p {
    margin-bottom: 30px;
    opacity: 0.85;
    line-height: 1.9;
    font-size: 1.05rem;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.6rem;
    margin-bottom: 35px;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 15px;
}

.footer-links h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

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

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

.footer-links ul li a {
    color: var(--light-color);
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s;
    display: inline-block;
    font-size: 1.05rem;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateX(8px);
}

.footer-contact p {
    margin-bottom: 25px;
    opacity: 0.85;
    display: flex;
    align-items: flex-start;
    line-height: 1.7;
    font-size: 1.05rem;
}

.footer-contact i {
    margin-right: 18px;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 3px;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--light-color);
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.4s;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--primary-color), #FF80AB);
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.copyright i.fa-heart {
    color: var(--primary-color);
    margin: 0 5px;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    5% { transform: scale(1.2); }
    10% { transform: scale(1.1); }
    15% { transform: scale(1.3); }
    50% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-form-popup {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 25px;
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
        z-index: 100;
        border-top: 2px solid var(--light-color);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 18px 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .reviews-section {
        padding: 80px 0;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .logo-main {
        font-size: 2.3rem;
    }
    
    .logo-circle {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }
    
    .review-buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .review-btn, .watch-reviews-btn {
        width: 100%;
        max-width: 300px;
        padding: 18px 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .logo-main {
        font-size: 2rem;
    }
    
    .logo-circle {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        margin-right: 15px;
    }
    
    .logo-tagline {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .review-form-popup {
        padding: 30px 20px;
    }
    
    .review-card {
        padding: 25px;
    }
}