/* ===== PALLETS PAGE SPECIFIC STYLES ===== */

/* Top Banner */
.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-yellow);
    color: var(--primary-red);
    padding: 0.5rem 0;
    z-index: 1031;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.banner-link:hover {
    color: var(--primary-red);
    text-decoration: none;
    transform: scale(1.05);
}

.banner-link i {
    font-size: 1rem;
}

/* Yellow CTA Button */
.btn-yellow-cta {
    background: var(--primary-yellow) !important;
    color: var(--primary-red) !important;
    font-weight: 700 !important;
    padding: 0.75rem 2rem !important;
    border: 2px solid var(--primary-yellow) !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 1.1rem !important;
    transition: all var(--transition-fast) !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3) !important;
}

.btn-yellow-cta:hover {
    background: #f5c842 !important;
    color: var(--primary-red) !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4) !important;
}

.btn-yellow-cta i {
    color: var(--primary-red) !important;
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    background: var(--primary-white);
    box-shadow: var(--shadow-light);
    z-index: 1030;
    padding: 10px 0;
    border-bottom: 2px solid var(--primary-yellow);
}

.phone-link {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-medium);
    border: 2px solid transparent;
}

.phone-link:hover {
    background: linear-gradient(135deg, var(--light-red), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--primary-white);
    text-decoration: none;
    border-color: var(--primary-yellow);
}

.phone-link i {
    margin-right: 8px;
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

/* Header Rating Display - Google Style */
.header-rating {
    display: flex;
    align-items: center;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.rating-score {
    font-size: 0.95rem;
    font-weight: 600;
    color: #3c4043;
    line-height: 1;
}

.rating-stars {
    display: flex;
    gap: 1px;
}

.rating-stars i {
    color: #fbbc04;
    font-size: 0.8rem;
}

.rating-count {
    font-size: 0.85rem;
    color: #5f6368;
    font-weight: 400;
}

.rating-source {
    font-size: 0.85rem;
    color: #5f6368;
    font-weight: 400;
}

/* Header CTA Updates */
.phone-btn {
    background: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    color: var(--primary-white) !important;
    font-weight: 600;
    padding: 8px 15px;
}

.phone-btn:hover {
    background: var(--light-red) !important;
    border-color: var(--light-red) !important;
    color: var(--primary-white) !important;
    transform: translateY(-1px);
}

.phone-btn i {
    color: var(--primary-yellow) !important;
    margin-right: 8px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Account for banner + sticky header */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./Warehouse_pallet_operation_768.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Responsive background images */
@media (min-width: 768px) {
    .hero-background {
        background-image: url('./Warehouse_pallet_operation_1280.webp');
    }
}

@media (min-width: 1280px) {
    .hero-background {
        background-image: url('./Warehouse_pallet_operation_1c7bf07d_compressed.webp');
    }
}

@media (min-width: 1920px) {
    .hero-background {
        background-image: url('./Warehouse_pallet_operation_1920.webp');
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        rgba(139, 0, 0, 0.9) 0%,
        rgba(139, 0, 0, 0.7) 70%,
        rgba(255, 215, 0, 0.2) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--primary-white);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}

.hero-logo-badge-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.hero-logo {
    width: 225px;
    height: 225px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    margin-bottom: 0.1rem;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}

.hero-title-container {
    width: 100%;
}

/* Mobile responsiveness for logo */
@media (max-width: 768px) {
    .hero-logo-badge-container {
        flex-direction: column;
        align-items: center;
        margin-bottom: 1rem;
    }

    .hero-logo {
        position: relative;
        left: 0;
        top: 0;
        width: 200px;
        height: 200px;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding-right: 1rem;
    margin-top: 0;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    padding-right: 1rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-yellow);
    margin-right: 12px;
    font-size: 1.3rem;
    width: 24px;
}

/* Quote Form Container */
.quote-form-container {
    position: relative;
    z-index: 2;
    background: var(--primary-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-heavy);
    border-top: 4px solid var(--primary-yellow);
}

/* Trust Row */
.trust-row {
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.25rem;
    color: var(--gray-dark);
    transition: all var(--transition-fast);
}

.trust-badge:hover {
    transform: translateY(-2px);
}

.trust-badge i {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.trust-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}



.text-accent {
    color: white !important;
}

/* Hero CTA Buttons */
.hero-cta-buttons {
    margin: 2rem 0;
}

.btn-secondary {
    background: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
    color: var(--primary-red);
    font-weight: 600;
}

.btn-secondary:hover {
    background: transparent;
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}

/* Quote Form Styling */
.quote-form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.quote-form h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.quote-form .form-control,
.quote-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.quote-form .form-control:focus,
.quote-form .form-select:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.quote-form .btn-primary {
    background: var(--primary-red);
    border: 2px solid var(--primary-red);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.quote-form .btn-primary:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.form-reassurance {
    color: var(--gray-medium);
    font-size: 0.9rem;
    background: #d1e7dd;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #badbcc;
}

.form-reassurance i {
    color: #198754;
    margin-right: 0.5rem;
}

/* Form Reassurance */
.form-reassurance {
    color: var(--gray-medium);
    font-weight: 500;
    padding: 0.5rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-reassurance i {
    color: #28a745;
    margin-right: 0.5rem;
}

/* Photo Gallery Section */
.photo-proof-section {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.photo-proof-title {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 2rem;
}

.photo-gallery {
    max-width: 100%;
    margin: 0 auto;
}

.gallery-item {
    background: var(--primary-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
    height: 280px;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-light) 0%, #f8f9fa 100%);
    color: var(--gray-dark);
    text-align: center;
    padding: 1rem;
}

.gallery-placeholder i {
    color: var(--primary-yellow);
    margin-bottom: 0.75rem;
}

.gallery-placeholder span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-red);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    background: var(--gray-light);
}

.gallery-feature {
    height: 200px;
}

/* Customer Reviews Section */
.reviews-section h2 {
    color: var(--primary-red);
    font-weight: 600;
}

.review-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: all var(--transition-fast);
    border-top: 4px solid var(--primary-yellow);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    border-left: 4px solid var(--primary-yellow);
    padding-left: 1rem;
}

.reviewer-info {
    margin-bottom: 1rem;
}

.reviewer-info strong {
    color: var(--primary-red);
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #4285f4;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.google-badge i {
    font-size: 0.9rem;
}

.quote-form h3 {
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.quote-form .form-control,
.quote-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.quote-form .form-control:focus,
.quote-form .form-select:focus {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.quote-form .btn {
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.service-block {
    margin-bottom: 4rem;
}

.service-title {
    color: var(--primary-red);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-benefits li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.service-benefits .fas {
    color: var(--primary-yellow);
    margin-right: 10px;
}

.service-icon {
    font-size: 6rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
}

.service-icon i {
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

/* CTA Breaks */
.cta-break {
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    color: var(--primary-white);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 4rem 0;
}

.cta-break h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-break .btn-outline-primary {
    border-color: var(--primary-white);
    color: var(--primary-white);
}

.cta-break .btn-outline-primary:hover {
    background-color: var(--primary-white);
    color: var(--primary-red);
}

/* Why Choose Us Section */
.why-choose-section {
    background-color: var(--gray-light);
}

.why-choose-card {
    background: var(--primary-white);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: all var(--transition-medium);
    border-top: 4px solid var(--primary-yellow);
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-white);
    font-size: 2rem;
}

.why-choose-card h4 {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Final CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--primary-white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    margin-top: 2rem;
}

/* Quote Form Section */
.quote-form-section {
    background-color: var(--gray-light);
}

.quote-form-section .quote-form-container {
    background: var(--primary-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    border-top: 6px solid var(--primary-red);
}

.quote-form-section h2 {
    color: var(--primary-red);
    font-weight: 700;
}

.form-label {
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: #1a1a1a !important;
}

.footer h5 {
    color: var(--primary-yellow);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer a {
    color: var(--primary-white);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer a:hover {
    color: var(--primary-yellow);
    text-decoration: none;
}

.footer .fas {
    color: var(--primary-yellow);
    margin-right: 8px;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
        padding-right: 0.5rem;
        margin-bottom: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding-right: 0.5rem;
        margin-bottom: 2.5rem;
    }

    .hero-content {
        padding: 2rem 1.5rem 2rem 1.5rem;
    }

    .service-title {
        font-size: 2rem;
    }

    .hero-features {
        margin-top: 1.5rem;
    }

    .quote-form-container {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .cta-break {
        padding: 2rem 1rem;
        text-align: center;
    }

    .cta-break .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .cta-break .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
        padding-right: 0;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero-content {
        padding: 1.5rem 1rem 2rem 1rem;
    }

    .service-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .service-block {
        text-align: center;
        margin-bottom: 3rem;
    }

    .service-icon {
        font-size: 3.5rem;
    }

    .why-choose-card {
        margin-bottom: 2rem;
    }

    .sticky-header .phone-link span {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .quote-form-section .quote-form-container {
        padding: 2rem 1.5rem;
    }

    .trust-badge {
        padding: 0.5rem 0.25rem;
    }

    .trust-badge i {
        font-size: 1.25rem;
    }

    .trust-badge span {
        font-size: 0.7rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.1;
    }

    .hero-cta-buttons .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .quote-form-container {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .quote-form h3 {
        font-size: 1.2rem;
    }

    .gallery-item {
        height: 220px;
        margin-bottom: 1rem;
    }

    .gallery-feature {
        height: 240px;
    }

    .gallery-placeholder i {
        font-size: 1.5rem !important;
    }

    .gallery-placeholder span {
        font-size: 0.8rem;
    }

    .review-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .photo-proof-item {
        margin-bottom: 1rem;
    }

    .photo-placeholder {
        min-height: 180px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 100px;
    }

    .banner-link {
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .banner-link span {
        white-space: nowrap;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .hero-content {
        padding: 1rem 0.75rem 2rem 0.75rem;
    }

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

    .quote-form-container {
        padding: 1.5rem 1rem;
    }

    .sticky-header .d-flex {
        flex-direction: row;
        gap: 0.75rem;
        align-items: center;
    }

    .sticky-header .phone-link {
        font-size: 0.85rem;
        padding: 8px 12px;
        flex: 1;
        text-align: center;
    }

    .sticky-header .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        flex-shrink: 0;
        min-width: 90px;
    }

    .trust-badge {
        padding: 0.4rem 0.1rem;
    }

    .trust-badge i {
        font-size: 1rem;
    }

    .trust-badge span {
        font-size: 0.65rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.75rem;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.1;
    }

    .hero-cta-buttons .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .quote-form-container {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }

    .quote-form h3 {
        font-size: 1.2rem;
    }

    .gallery-item {
        height: 180px;
    }

    .gallery-feature {
        height: 200px;
    }

    .gallery-placeholder i {
        font-size: 1.2rem !important;
    }

    .gallery-placeholder span {
        font-size: 0.8rem;
    }

    .review-card {
        padding: 1.25rem;
    }

    .review-stars {
        font-size: 1rem;
    }

    .photo-proof-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .photo-placeholder {
        min-height: 150px;
    }

    .photo-placeholder i {
        font-size: 2rem !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    display: none;
}

.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Form Success/Error States */
.form-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Accessibility Improvements */
.form-control:focus,
.form-select:focus,
.btn:focus {
    outline: 3px solid rgba(255, 215, 0, 0.5);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .sticky-header,
    .quote-form-container,
    .cta-break,
    .cta-section,
    .quote-form-section {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-background,
    .hero-overlay {
        display: none;
    }

    .hero-content {
        color: var(--gray-dark);
    }
}

/* Grade Options Section */
.grade-options-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.grade-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all var(--transition-smooth);
    border: 1px solid #e9ecef;
}

.grade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.grade-header {
    position: relative;
}

.grade-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.grade-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.grade-body {
    padding: 2rem;
}

.grade-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.grade-features li {
    padding: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.grade-features i {
    font-size: 1.1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Grade Card Responsive */
@media (max-width: 768px) {
    .grade-card {
        margin-bottom: 2rem;
    }
    
    .grade-body {
        padding: 1.5rem;
    }
    
    .grade-header h3 {
        font-size: 1.3rem;
    }
    
    /* Header rating responsive - keep visible but smaller */
    .header-rating {
        display: flex !important;
        font-size: 0.75rem;
    }
    
    .google-rating {
        padding: 4px 8px;
        gap: 0.3rem;
    }
    
    .header-rating .rating-score {
        font-size: 0.85rem;
    }
    
    .header-rating .rating-stars {
        font-size: 0.65rem;
    }
    
    .header-rating .rating-source {
        font-size: 0.7rem;
    }
    
    .header-cta {
        display: flex !important;
        gap: 0.5rem;
    }
    
    .header-cta .phone-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .header-cta .phone-btn span {
        display: inline !important;
        font-size: 0.8rem;
    }
    
    .header-cta .phone-btn i {
        font-size: 0.9rem;
        margin-right: 4px;
    }
    
    .header-cta .btn-sm {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

/* Extra small screens - make sure phone and rating stay visible */
@media (max-width: 576px) {
    .sticky-header {
        padding: 8px 0;
    }
    
    .sticky-header .container {
        padding: 0 10px;
    }
    
    .sticky-header .d-flex {
        flex-wrap: nowrap !important;
    }
    
    /* Brand name can be smaller */
    .sticky-header .navbar-brand {
        font-size: 0.9rem;
    }
    
    /* Keep rating visible but compact */
    .header-rating {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 auto;
    }
    
    .google-rating {
        display: flex !important;
        padding: 3px 6px;
        gap: 0.2rem;
    }
    
    .rating-score {
        display: inline-block !important;
        font-size: 0.75rem !important;
    }
    
    .rating-stars {
        display: flex !important;
    }
    
    .rating-stars i {
        display: inline-block !important;
        font-size: 0.6rem !important;
    }
    
    .rating-source {
        display: inline-block !important;
        font-size: 0.65rem !important;
    }
    
    /* Keep phone button visible with number */
    .header-cta {
        display: flex !important;
        flex-shrink: 0;
    }
    
    .header-cta .phone-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .header-cta .phone-btn span {
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .header-cta .phone-btn i {
        margin-right: 3px;
        font-size: 0.8rem;
    }
    
    /* Keep Get Quote button visible and properly sized */
    .header-cta .btn-primary.btn-sm {
        display: inline-block !important;
        padding: 5px 8px;
        font-size: 0.75rem;
        white-space: nowrap;
    }
}

/* Ultra small screens - minimum viable display */
@media (max-width: 400px) {
    .sticky-header .navbar-brand {
        font-size: 0.8rem;
    }
    
    /* Hide rating to make room for buttons */
    .header-rating {
        display: none !important;
    }
    
    /* Ensure both buttons are visible and properly sized */
    .header-cta {
        display: flex !important;
        gap: 6px !important;
    }
    
    .header-cta .phone-btn {
        font-size: 0.85rem !important;
        padding: 8px 10px !important;
        font-weight: 600 !important;
    }
    
    .header-cta .phone-btn span {
        display: inline !important;
        font-size: 0.85rem !important;
    }
    
    .header-cta .btn-primary.btn-sm {
        display: inline-block !important;
        font-size: 0.85rem !important;
        padding: 8px 10px !important;
        font-weight: 600 !important;
    }
}

/* Force phone number and rating to always show - overrides Bootstrap */
@media screen and (max-width: 767px) {
    /* Phone number must always be visible */
    .phone-btn .phone-number {
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        height: auto !important;
        position: static !important;
        clip: auto !important;
        overflow: visible !important;
    }
    
    /* Rating must always be visible */
    .header-rating,
    .header-rating * {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Override any Bootstrap d-none classes */
    .sticky-header .d-none {
        display: flex !important;
    }
}

/* iPhone specific overrides */
@media screen and (max-width: 430px) {
    .sticky-header {
        padding: 8px 0;
    }
    
    /* Hide Google rating on mobile to make room for buttons */
    .header-rating {
        display: none !important;
    }
    
    /* Make phone button bigger and more prominent on mobile */
    .phone-btn {
        font-size: 0.9rem !important;
        padding: 10px 14px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }
    
    .phone-btn .phone-number {
        font-size: 0.9rem !important;
        display: inline !important;
    }
    
    /* Keep Get Quote button visible and make it bigger on mobile */
    .get-quote-btn {
        display: inline-block !important;
        font-size: 0.9rem !important;
        padding: 10px 14px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }
    
    /* Ensure buttons stay side by side with better spacing */
    .header-cta {
        display: flex !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }
    
    /* Adjust margins for smaller buttons */
    .header-cta .me-2 {
        margin-right: 0 !important;
    }
}

/* Hide rating on all mobile devices */
@media screen and (max-width: 768px) {
    .header-rating {
        display: none !important;
    }
}

/* ===== VIDEO SECTION FIX ===== */
.video-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.youtube-background-preview {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}

.youtube-facade-thumbnail {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
