body {
    background: #ffb347;
    color: #222;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.logo-container {
    background: #fff;
    text-align: center;
    padding: 3rem 0 1rem 0;
    position: relative; /* Add relative positioning for absolute children */
}

.logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 0 10px #ffb347);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: translateY(-8px) scale(1.05);
    filter: drop-shadow(0 4px 16px #ffb347);
}

.quote-form-bg {
    background: #ffb347;
    min-height: 100vh;
    padding-top: 0;
    margin: 0;
}

.quote-form-container {
    background: #fff;
    flex: 1;
    max-width: 420px;
    padding: 2rem 2.5rem 2rem 2.5rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(255, 176, 71, 0.15);
    border: 2px solid #ffe066;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px 0 rgba(255, 176, 71, 0.25);
}

h1 {
    color: #ffb347;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    letter-spacing: 1px;
}

form label {
    color: #222;
    font-weight: 600;
}

form input, form textarea {
    width: 100%;
    padding: 0.7rem;
    margin: 0.5rem 0 1.2rem 0;
    border: 1.5px solid #ffb347;
    border-radius: 8px;
    font-size: 1rem;
    background: #fffbe6;
    color: #222;
    transition: border 0.2s;
}

form input:focus, form textarea:focus {
    border: 2px solid #ff7f50;
    outline: none;
}

button[type="submit"] {
    background: linear-gradient(90deg, #ffe066 0%, #ffb347 100%);
    color: #222;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(255, 176, 71, 0.10);
    transition: background 0.2s, color 0.2s;
    display: block;
    margin: 0 auto;
    text-align: center;
}

button[type="submit"]:hover {
    background: #ffb347;
    color: #fff;
}

.input-error {
    border: 2px solid #d32f2f !important;
    background: #fff0f0;
}

.error-message {
    color: #d32f2f;
    font-size: 0.95em;
    margin-bottom: 1em;
    text-align: center;
    background: #ffebee;
    padding: 0.5em;
    border-radius: 4px;
    border-left: 4px solid #d32f2f;
}

/* Carousel Styles */
.carousel-container {
    background: #fff !important;
    max-width: 420px;
    margin: 2rem auto;
    padding: 2rem 2.5rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(255, 176, 71, 0.15);
    border: 2px solid #ffe066;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px 0 rgba(255, 176, 71, 0.25);
}

.carousel-container h3 {
    text-align: center;
    color: #222;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #f0f0f0;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.carousel-item {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none !important;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.carousel-item.active {
    display: block !important;
    z-index: 2;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 224, 102, 0.9);
    color: #222;
    border: none;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s, transform 0.2s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: #ffb347;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #ffb347;
}

.indicator:hover {
    background: #ffe066;
}

/* About Us Section Styles */
.about-us-container {
    background: #fff !important;
    max-width: 420px;
    margin: 2rem auto;
    padding: 2rem 2.5rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(255, 176, 71, 0.15);
    border: 2px solid #ffe066;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px 0 rgba(255, 176, 71, 0.25);
}

.about-us-content {
    margin-top: 1rem;
}

.about-us-content p {
    color: #222;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.about-us-content p:last-child {
    margin-bottom: 0;
}

/* Header Button Styling */
.header-button-left {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 10;
    text-align: left;
}

.header-button-right {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
    text-align: right;
}

.header-button {
    display: inline-block;
    background: linear-gradient(90deg, #ffe066 0%, #ffb347 100%);
    color: #222;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px 0 rgba(255, 176, 71, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.2s, color 0.2s;
}

.header-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px 0 rgba(255, 176, 71, 0.3);
    background: linear-gradient(90deg, #ffb347 0%, #ff7f50 100%);
    color: #fff;
}

/* Facebook Logo Button */
.facebook-button {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 12px 0 rgba(24, 119, 242, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    border: 2px solid #1877f2;
}

.facebook-button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px 0 rgba(24, 119, 242, 0.5);
}

.facebook-button img {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Removed the filter to show the actual Facebook logo */
}

/* Nextdoor Logo Button */
.nextdoor-button {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 12px 0 rgba(20, 154, 20, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    border: 2px solid #149a14;
    margin-left: 10px; /* Space between Facebook and Nextdoor buttons */
}

.nextdoor-button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px 0 rgba(20, 154, 20, 0.5);
}

.nextdoor-button img {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border-radius: 50%;
}

/* Instagram Logo Button */
.instagram-button {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 12px 0 rgba(225, 48, 108, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    border: 2px solid #e1306c;
    margin-left: 10px; /* Space between Nextdoor and Instagram buttons */
}

.instagram-button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px 0 rgba(225, 48, 108, 0.5);
}

.instagram-button img {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border-radius: 50%;
}

/* Container for social buttons to keep them aligned */
.social-buttons {
    display: inline-flex;
    align-items: center;
}

/* Mobile responsive design for social buttons */
@media (max-width: 768px) {
    .social-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .facebook-button,
    .nextdoor-button,
    .instagram-button {
        margin-left: 0;
    }
}

/* Forms Container for Side-by-Side Layout */
.forms-container {
    display: flex;
    gap: 2rem;
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    justify-content: center;
    align-items: flex-start;
}

.review-form-container {
    background: #fff;
    flex: 1;
    max-width: 420px;
    padding: 2rem 2.5rem 2rem 2.5rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(255, 176, 71, 0.15);
    border: 2px solid #ffe066;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px 0 rgba(255, 176, 71, 0.25);
}

.review-form-container h1 {
    color: #222;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: bold;
}

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

.review-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #222;
    font-weight: bold;
    font-size: 1rem;
}

.review-form input[type="text"],
.review-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ffe066;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box;
}

.review-form input[type="text"]:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #ffb347;
    box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.2);
}

.review-form input[type="hidden"] {
    display: none;
}

.review-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Star Rating Styling */
.star-rating {
    display: flex;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.star {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.star:hover,
.star.active {
    color: #ffd700;
    transform: scale(1.1);
}

.star.active {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.review-form button {
    width: 100%;
    background: linear-gradient(90deg, #ffe066 0%, #ffb347 100%);
    color: #222;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.2s;
    margin-top: 1rem;
}

.review-form button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px 0 rgba(255, 176, 71, 0.3);
    background: linear-gradient(90deg, #ffb347 0%, #ff7f50 100%);
    color: #fff;
}

/* Reviews Display Section */
.reviews-display-container {
    max-width: 900px;
    margin: 3rem auto 2rem auto;
    padding: 0 1rem;
}

.reviews-display-container h2 {
    text-align: center;
    color: #222;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-bubble {
    background: #fff;
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(255, 176, 71, 0.15);
    border: 2px solid #ffe066;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.review-bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px 0 rgba(255, 176, 71, 0.25);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.review-name {
    font-weight: bold;
    color: #222;
    font-size: 1.1rem;
}

.review-rating {
    display: flex;
    gap: 0.1rem;
}

.review-star {
    color: #ddd;
    font-size: 1.2rem;
}

.review-star.filled {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.no-rating {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.review-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
    border-left: 3px solid #ffe066;
    padding-left: 1rem;
    background: rgba(255, 224, 102, 0.05);
    padding: 0.8rem 0.8rem 0.8rem 1rem;
    border-radius: 0 8px 8px 0;
}

.review-date {
    color: #888;
    font-size: 0.85rem;
    text-align: right;
    margin-top: 0.6rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 0.6rem;
    font-style: italic;
    font-weight: 400;
}

.no-reviews {
    text-align: center;
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(255, 176, 71, 0.15);
    border: 2px solid #ffe066;
    margin: 2rem auto;
    max-width: 500px;
}

.no-reviews p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
    font-style: italic;
}

/* See All Reviews Button */
.see-all-reviews {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.see-all-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #333;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.see-all-button:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.see-all-text {
    font-size: 1rem;
}

.down-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.see-all-button:hover .down-arrow {
    transform: translateY(2px);
}

/* All Reviews Page Styles */
.all-reviews-page {
    background: #fff;
    min-height: 100vh;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ffb347;
}

.page-header h1 {
    color: #333;
    font-size: 2.5rem;
    margin: 0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffb347;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 179, 71, 0.3);
}

.back-button:hover {
    background: #ff9f2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 179, 71, 0.4);
}

.back-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-button:hover .back-arrow {
    transform: translateX(-2px);
}

.all-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header-button-left {
        left: 12px;
        top: 8px;
    }
    
    .header-button-right {
        right: 12px;
        top: 8px;
    }
    
    .header-button {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
        max-width: 140px;
        text-align: center;
        word-wrap: break-word;
    }
    
    .forms-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .quote-form-container,
    .review-form-container {
        max-width: 100%;
        margin: 0;
        padding: 1.5rem 2rem;
    }
    
    .star {
        font-size: 1.5rem;
    }
    
    .reviews-display-container {
        padding: 0 0.5rem;
    }
    
    .reviews-display-container h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .review-bubble {
        padding: 1.2rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .review-rating {
        align-self: flex-end;
    }
}

/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {
    .header-button-left {
        left: 8px;
        top: 6px;
    }
    
    .header-button-right {
        right: 8px;
        top: 6px;
    }
    
    .header-button {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
        max-width: 120px;
    }
    
    .all-reviews-page {
        padding: 1rem;
    }
    
    .page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .all-reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .see-all-button, .back-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}