/*
Theme Name: MC10 Construction
Author: Nathan
Description: Custom theme for MC10 Construction & Renovation
Version: 2.0
*/

/* ===== VARIABLES ===== */
:root {
    --mc10-primary: #f4b400;
    --mc10-dark: #000000;
    --mc10-light: #f8f9fa;
    --mc10-gray: #666666;
    --mc10-white: #ffffff;
    --mc10-success: #28a745;
    --mc10-info: #17a2b8;
    --mc10-danger: #dc3545;
}

/* ===== BASE RESET & GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding-top: 120px; /* Space for fixed nav */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mc10-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION RIBBON ===== */
.mc10-nav-ribbon {
    background: var(--mc10-dark);
    color: var(--mc10-white);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.mc10-logo-img {
    height: 60px;
    width: auto;
    max-width: 100%;
}

/* Removed CSS Logo styles (.mc10-logo-box, .mc10-logo-m) as we now use an SVG image */

.mc10-logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mc10-logo-title {
    color: var(--mc10-primary);
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 0.9;
    letter-spacing: 1px;
}

.mc10-logo-subtitle {
    color: var(--mc10-primary);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 3px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: var(--mc10-white);
    text-decoration: none;
    padding: 15px 0;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--mc10-primary);
}

.nav-menu a.active {
    color: var(--mc10-primary);
}

.nav-menu a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--mc10-primary);
}

/* ===== SHARED COMPONENTS ===== */

/* Back Button */
.back-section {
    margin-bottom: 40px;
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--mc10-dark);
    color: var(--mc10-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid var(--mc10-dark);
}

.back-btn:hover {
    background: var(--mc10-primary);
    color: var(--mc10-dark);
    border-color: var(--mc10-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 180, 0, 0.3);
}

.back-btn i {
    font-size: 0.9em;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--mc10-dark);
    color: var(--mc10-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--mc10-dark);
    cursor: pointer;
}

.action-btn.primary {
    background: var(--mc10-primary);
    color: var(--mc10-dark);
    border-color: var(--mc10-primary);
}

.action-btn.secondary {
    background: transparent;
    color: var(--mc10-dark);
    border-color: var(--mc10-dark);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 180, 0, 0.3);
}

.action-btn.primary:hover {
    background: #e0a600;
}

.action-btn.secondary:hover {
    background: var(--mc10-dark);
    color: var(--mc10-white);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--mc10-success);
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: none;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    max-width: 500px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.success-message i {
    font-size: 1.8rem;
}

.success-message-content h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.success-message-content p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===== HOME PAGE STYLES (from index.css) ===== */

/* Hero Section */
.mc10-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
    margin-top: 0;
}

.mc10-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.mc10-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
}

.mc10-hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: white;
}

.mc10-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Home Buttons */
.mc10-btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
}

.mc10-btn-primary {
    background: #f4b400;
    color: #000;
}

.mc10-btn-primary:hover {
    background: #e0a600;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mc10-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.mc10-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Trust Badges */
.mc10-trust-badges {
    background: #f8f9fa;
    padding: 40px 0;
}

.mc10-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.mc10-badge {
    padding: 20px;
    color: #333;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc10-badge:hover {
    transform: translateY(-5px);
}

.mc10-badge strong {
    display: block;
    font-size: 1.1rem;
    color: #f4b400;
    margin-bottom: 5px;
}

/* Sections */
.mc10-section {
    padding: 80px 0;
}

.mc10-section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--mc10-dark);
}

.mc10-section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--mc10-dark);
}

.mc10-section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.mc10-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mc10-about-content h3 {
    color: var(--mc10-dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.mc10-about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
}

.mc10-why-choose {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 5px solid #f4b400;
    color: #333;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc10-why-choose:hover {
    transform: translateY(-5px);
}

.mc10-why-choose h4 {
    color: var(--mc10-dark);
    margin-bottom: 15px;
}

.mc10-why-choose ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
    color: #333;
}

.mc10-why-choose li {
    padding: 5px 0;
    color: #333;
}

.mc10-about-image {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc10-about-image:hover {
    transform: translateY(-5px);
}

.mc10-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--mc10-dark), #333);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* Home Services Section */
.mc10-services {
    background: #f8f9fa;
}

.mc10-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.mc10-service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid #f4b400;
}

.mc10-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.mc10-service-img {
    height: 200px;
    background: #ddd;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc10-service-card:hover .mc10-service-img {
    transform: scale(1.05);
}

.mc10-service-content {
    padding: 25px;
}

.mc10-service-content h3 {
    color: var(--mc10-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc10-service-card:hover .mc10-service-content h3 {
    color: #f4b400;
}

.mc10-service-content p {
    color: #666;
    margin-bottom: 15px;
}

.mc10-service-features {
    list-style: none;
    margin-top: 15px;
}

.mc10-service-features li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: #333;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc10-service-card:hover .mc10-service-features li {
    transform: translateX(5px);
}

.mc10-service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f4b400;
    font-weight: bold;
}

/* Smooth Process Blocks */
.mc10-process-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
    perspective: 1000px;
}

.mc10-process-block {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    will-change: transform, height, box-shadow;
}

.mc10-process-block:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(244, 180, 0, 0.15);
    border-color: #f4b400;
    background: linear-gradient(135deg, #fff, #fef9e7);
    height: auto;
    min-height: 320px;
    z-index: 10;
}

.mc10-process-number {
    width: 60px;
    height: 60px;
    background: var(--mc10-dark);
    color: #f4b400;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.mc10-process-block:hover .mc10-process-number {
    transform: scale(1.15);
    background: #f4b400;
    color: #000;
    box-shadow: 0 0 0 10px rgba(244, 180, 0, 0.1);
}

.mc10-process-icon {
    font-size: 2.2rem;
    color: #f4b400;
    margin-bottom: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
}

.mc10-process-block:hover .mc10-process-icon {
    transform: scale(1.25) rotate(5deg);
    opacity: 1;
}

.mc10-process-title {
    font-size: 1.3rem;
    color: var(--mc10-dark);
    margin-bottom: 12px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.3;
}

.mc10-process-block:hover .mc10-process-title {
    color: #f4b400;
    transform: translateY(-3px);
    font-size: 1.35rem;
}

.mc10-process-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    height: auto;
    max-height: 100px;
    overflow: hidden;
}

.mc10-process-block:hover .mc10-process-desc {
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 20px;
}

.mc10-process-line {
    width: 40px;
    height: 2px;
    background: #ddd;
    margin: 10px auto 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mc10-process-block:hover .mc10-process-line {
    width: 60px;
    background: #f4b400;
    transform: scaleX(1.1);
}

.mc10-process-details {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    padding: 0 5px;
}

.mc10-process-block:hover .mc10-process-details {
    max-height: 150px;
    opacity: 1;
    margin-top: 10px;
    padding: 15px 5px 0;
    border-top: 1px solid rgba(244, 180, 0, 0.1);
}

.mc10-process-details p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.mc10-process-details span {
    background: rgba(244, 180, 0, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.mc10-process-block:hover .mc10-process-details span {
    background: rgba(244, 180, 0, 0.12);
    color: #444;
}

.mc10-process-block:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(244, 180, 0, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.mc10-process-block:hover:after {
    opacity: 1;
}

/* Infinite Testimonials Carousel */
.mc10-testimonials {
    background: var(--mc10-dark);
    color: white;
    overflow: hidden;
}

.mc10-testimonials .mc10-section-title h2 {
    color: white;
}

.mc10-testimonials .mc10-section-subtitle {
    color: rgba(255,255,255,0.8);
}

.mc10-testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    height: 400px;
}

.mc10-testimonial-track {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc10-testimonial-slide {
    flex: 0 0 100%;
    padding: 40px;
    font-style: italic;
    font-size: 1.1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mc10-testimonial-rating {
    color: #f4b400;
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.mc10-testimonial-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: white;
    font-style: normal;
    max-width: 700px;
    position: relative;
    padding: 0 20px;
}

.mc10-testimonial-text:before,
.mc10-testimonial-text:after {
    content: '"';
    font-size: 4rem;
    color: rgba(244, 180, 0, 0.2);
    position: absolute;
    font-family: serif;
    line-height: 0;
}

.mc10-testimonial-text:before {
    top: 10px;
    left: -10px;
}

.mc10-testimonial-text:after {
    bottom: -20px;
    right: -10px;
}

.mc10-testimonial-author {
    font-style: normal;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
    font-size: 1.1rem;
}

.mc10-testimonial-meta {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #f4b400;
    font-style: normal;
}

.mc10-testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.mc10-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc10-dot.active {
    background: #f4b400;
    transform: scale(1.2);
}

.mc10-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.mc10-testimonial-prev,
.mc10-testimonial-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(244, 180, 0, 0.8);
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.mc10-testimonial-prev:hover,
.mc10-testimonial-next:hover {
    background: #f4b400;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(244, 180, 0, 0.3);
}

.mc10-testimonial-prev {
    left: 10px;
}

.mc10-testimonial-next {
    right: 10px;
}

/* CTA Section */
.mc10-cta {
    background: var(--mc10-dark);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.mc10-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.mc10-cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
    color: white;
}

.mc10-cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== HIDDEN ADMIN LOGIN MODAL ===== */
.mc10-admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.mc10-admin-modal.active {
    display: flex;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mc10-admin-modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-top: 5px solid #f4b400;
}

.mc10-admin-modal-content h3 {
    margin-bottom: 10px;
    color: #111;
    font-size: 1.8rem;
    text-align: center;
}

.mc10-form-group {
    margin-bottom: 15px;
}

.mc10-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.mc10-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.mc10-btn-text {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-weight: 600;
}

.mc10-admin-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.mc10-admin-message.error {
    background: #ffebee;
    color: #c62828;
}

.mc10-admin-message.success {
    background: #e8f5e9;
    color: #2e7d32;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== GALLERY STYLES ===== */
.mc10-gallery-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000;
}

.mc10-gallery-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.mc10-gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 1;
}

.mc10-gallery-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.mc10-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    cursor: zoom-in;
}

.mc10-zoom-hint {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 8px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.mc10-gallery-item:hover .mc10-zoom-hint {
    opacity: 1;
}

.mc10-gallery-item video, .mc10-gallery-item iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none;
}

.mc10-gallery-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    gap: 15px;
}

.mc10-gallery-prev, .mc10-gallery-next {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mc10-gallery-prev:hover, .mc10-gallery-next:hover {
    background: rgba(255,255,255,0.5);
}

.mc10-gallery-dots {
    display: flex;
    gap: 8px;
}

.mc10-gallery-dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.mc10-gallery-dot.active {
    background: #f4b400;
}

.mc10-video-controls {
    position: absolute;
    bottom: 60px;
    right: 20px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 5;
}

.mc10-gallery-item:hover .mc10-video-controls {
    opacity: 1;
}

.mc10-video-btn {
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Lightbox */
.mc10-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mc10-lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.6s;
    transition: transform 0.3s ease;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.mc10-lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.mc10-lightbox-close:hover,
.mc10-lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Gallery Mobile Fixes */
@media only screen and (max-width: 768px) {
    .mc10-gallery-wrapper {
        padding-bottom: 75%; /* 4:3 Aspect Ratio for mobile */
    }
    .mc10-gallery-item img {
        margin: 0 auto;
        display: block;
        object-position: center;
    }
    .mc10-video-controls {
        opacity: 1; /* Always show controls on mobile */
        bottom: 70px;
    }
    .mc10-zoom-hint {
        opacity: 1;
    }
    
    .mc10-lightbox-content.rotated {
        transform: rotate(90deg);
        width: 100vh !important;
        height: 100vw !important;
        max-width: 100vh !important;
        max-height: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .mc10-gallery-prev, .mc10-gallery-next {
        width: 50px;
        height: 50px;
    }
    .mc10-gallery-nav {
        gap: 20px;
    }
    .mc10-lightbox-content {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 80vh;
        object-fit: contain;
    }
}

.mc10-admin-message.error {
    background: #fee;
    color: #c00;
    border: 1px solid #fcc;
    display: block;
}

.mc10-admin-message.success {
    background: #efe;
    color: #090;
    border: 1px solid #cfc;
    display: block;
}

.mc10-admin-note {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.mc10-admin-note strong {
    color: #f4b400;
}

/* Secret hint - very subtle */
.mc10-secret-hint {
    position: absolute;
    left: -9999px;
    opacity: 0.01;
    font-size: 1px;
    color: transparent;
}

/* ===== SERVICES PAGE STYLES (from services.css) ===== */
.services-folders {
    padding: 20px 0 60px;
    background: transparent;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--mc10-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--mc10-primary);
}

.section-title p {
    color: var(--mc10-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.folder-card {
    background: var(--mc10-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
    text-decoration: none;
    display: block;
    position: relative;
}

.folder-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(244, 180, 0, 0.15);
    border-color: var(--mc10-primary);
}

.folder-icon {
    height: 130px;
    background: linear-gradient(135deg, var(--mc10-dark) 0%, #333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.folder-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(244, 180, 0, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.folder-card:hover .folder-icon:before {
    transform: translateX(100%);
}

.folder-icon i {
    font-size: 3rem;
    color: var(--mc10-primary);
    transition: all 0.4s ease;
    z-index: 2;
}

.folder-card:hover .folder-icon i {
    transform: scale(1.1) rotate(5deg);
}

.folder-content {
    padding: 22px;
    position: relative;
}

.folder-content h3 {
    font-size: 1.25rem;
    color: var(--mc10-dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.folder-card:hover .folder-content h3 {
    color: var(--mc10-primary);
}

.folder-content p {
    color: var(--mc10-gray);
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 70px;
}

.folder-count {
    display: inline-block;
    background: rgba(244, 180, 0, 0.1);
    color: var(--mc10-primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 10px;
}

.folder-arrow {
    position: absolute;
    bottom: 22px;
    right: 22px;
    color: var(--mc10-gray);
    transition: all 0.3s ease;
}

.folder-card:hover .folder-arrow {
    color: var(--mc10-primary);
    transform: translateX(5px);
}

.contact-info-section {
    background: var(--mc10-dark);
    color: var(--mc10-white);
    padding: 60px 0;
    margin-top: 40px;
    border-radius: 12px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-column h3 {
    font-size: 1.5rem;
    color: var(--mc10-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-column p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    color: var(--mc10-primary);
    font-size: 1.2rem;
    margin-top: 3px;
    width: 24px;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--mc10-white);
}

.contact-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.service-hours {
    background: rgba(244, 180, 0, 0.1);
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}

.service-hours li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-hours li:last-child {
    border-bottom: none;
}

/* ===== QUOTE PAGE STYLES (from quote.css) ===== */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--mc10-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-header h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--mc10-primary);
}

.page-header p {
    color: var(--mc10-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 25px auto 0;
    line-height: 1.8;
}

.quote-container {
    margin-bottom: 60px;
}

.quote-form-section {
    background: var(--mc10-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    margin-bottom: 40px;
}

.form-title {
    font-size: 1.8rem;
    color: var(--mc10-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-title i {
    color: var(--mc10-primary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--mc10-dark);
    font-size: 0.95rem;
}

.form-group label.required:after {
    content: ' *';
    color: var(--mc10-danger);
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 2px solid #eee;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--mc10-primary);
    box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Service Selection */
.service-selection {
    margin-top: 30px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.service-option {
    position: relative;
}

.service-option input {
    display: none;
}

.service-option label {
    display: block;
    padding: 12px;
    background: #f8f9fa;
    border: 2px solid #eee;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--mc10-dark);
}

.service-option input:checked + label {
    background: var(--mc10-primary);
    border-color: var(--mc10-primary);
    color: var(--mc10-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 180, 0, 0.2);
}

.service-option label:hover {
    border-color: var(--mc10-primary);
    background: rgba(244, 180, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Budget Slider */
.budget-slider-container {
    padding: 20px 0;
}

.budget-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #ddd, var(--mc10-primary));
    border-radius: 4px;
    outline: none;
    margin: 15px 0;
}

.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--mc10-primary);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.budget-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: var(--mc10-gray);
    font-size: 0.9rem;
}

.budget-display {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--mc10-primary);
    margin-top: 10px;
}

/* Custom Budget Input */
#customBudgetContainer {
    animation: fadeIn 0.3s ease;
    padding: 20px;
    background: rgba(244, 180, 0, 0.05);
    border-radius: 8px;
    border: 2px dashed rgba(244, 180, 0, 0.3);
    margin-top: 20px;
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* File Upload */
.file-upload {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload:hover {
    border-color: var(--mc10-primary);
    background: rgba(244, 180, 0, 0.02);
}

.file-upload i {
    font-size: 2.5rem;
    color: var(--mc10-primary);
    margin-bottom: 15px;
}

.file-upload p {
    color: var(--mc10-gray);
    margin-bottom: 10px;
}

.file-input {
    display: none;
}

.file-list {
    margin-top: 15px;
    display: none;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.file-name {
    font-size: 0.9rem;
    color: var(--mc10-dark);
}

.file-remove {
    background: none;
    border: none;
    color: var(--mc10-danger);
    cursor: pointer;
    font-size: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--mc10-primary);
    color: var(--mc10-dark);
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn:hover {
    background: #e0a600;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 180, 0, 0.3);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Info Section Under Submit */
.info-section-under {
    background: var(--mc10-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    margin-top: 40px;
}

.info-section-title {
    font-size: 1.8rem;
    color: var(--mc10-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-column {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    border-left: 4px solid var(--mc10-primary);
}

.info-column h3 {
    font-size: 1.3rem;
    color: var(--mc10-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-column h3 i {
    color: var(--mc10-primary);
}

.info-column ul {
    list-style: none;
    padding-left: 0;
}

.info-column li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--mc10-gray);
}

.info-column li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--mc10-primary);
    font-weight: bold;
}

.info-column li strong {
    color: var(--mc10-dark);
}

.contact-info-box {
    background: linear-gradient(135deg, var(--mc10-dark), #333);
    color: white;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-info-box h3 {
    color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-box h3 i {
    color: var(--mc10-primary);
}

.service-areas-box {
    background: rgba(244, 180, 0, 0.05);
    border: 2px solid rgba(244, 180, 0, 0.1);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.service-areas-box h3 {
    color: var(--mc10-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-areas-box h3 i {
    color: var(--mc10-primary);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.area-item {
    background: white;
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    color: var(--mc10-dark);
    border: 1px solid #eee;
}

.post-submission-section {
    display: none;
    margin-top: 50px;
    background: var(--mc10-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    animation: fadeIn 0.5s ease;
}

.post-submission-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.post-submission-header h2 {
    font-size: 2rem;
    color: var(--mc10-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.post-submission-header h2 i {
    color: var(--mc10-success);
    font-size: 2.2rem;
}

.post-submission-header p {
    color: var(--mc10-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.reference-box {
    background: linear-gradient(135deg, var(--mc10-primary), #e0a600);
    color: var(--mc10-dark);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(244, 180, 0, 0.2);
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--mc10-dark);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Email Notification */
.email-notification {
    background: #e3f2fd;
    border-left: 4px solid var(--mc10-info);
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.email-notification i {
    color: var(--mc10-info);
    margin-right: 10px;
}

/* ===== COMMENTS PAGE STYLES (from comments.css) ===== */
.comments-page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 992px) {
    .comments-page {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

.comment-form-section {
    background: var(--mc10-white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

textarea.form-control {
    min-height: 150px;
}

/* Rating Stars */
.rating-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rating-stars {
    display: flex;
    gap: 5px;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    font-size: 2.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0 3px;
}

.rating-stars label i {
    display: inline-block;
}

.rating-stars label .fa-star {
    color: inherit;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input:checked ~ label {
    color: var(--mc10-primary);
}

.rating-stars input:checked + label {
    color: var(--mc10-primary);
}

.rating-stars input:checked + label .fa-star,
.rating-stars label:hover .fa-star,
.rating-stars label:hover ~ label .fa-star {
    display: inline-block;
}

.rating-value {
    font-size: 0.9rem;
    color: var(--mc10-dark);
    font-style: italic;
    margin-top: 5px;
}

/* Privacy Check */
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid var(--mc10-primary);
}

.privacy-check input {
    margin-top: 3px;
}

.privacy-check label {
    font-size: 0.9rem;
    color: var(--mc10-gray);
    line-height: 1.5;
    font-weight: normal;
}

.privacy-check a {
    color: var(--mc10-primary);
    text-decoration: none;
}

.privacy-check a:hover {
    text-decoration: underline;
}

/* View Comments Section */
.comments-section {
    background: var(--mc10-white);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    max-height: 700px;
    overflow-y: auto;
}

.comments-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 2px solid #eee;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--mc10-gray);
}

.filter-btn:hover {
    border-color: var(--mc10-primary);
    color: var(--mc10-dark);
}

.filter-btn.active {
    background: var(--mc10-primary);
    border-color: var(--mc10-primary);
    color: var(--mc10-dark);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.comment-item {
    padding: 20px;
    border-radius: 8px;
    background: #f8f9fa;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.comment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comment-item.rating-5 { border-left-color: #28a745; }
.comment-item.rating-4 { border-left-color: #28a745; }
.comment-item.rating-3 { border-left-color: #ffc107; }
.comment-item.rating-2 { border-left-color: #fd7e14; }
.comment-item.rating-1 { border-left-color: #dc3545; }

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--mc10-primary);
    color: var(--mc10-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--mc10-dark);
    margin-bottom: 3px;
}

.author-info .date {
    font-size: 0.85rem;
    color: var(--mc10-gray);
}

.comment-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--mc10-primary);
    font-size: 1rem;
}

.rating-number {
    font-size: 0.9rem;
    color: var(--mc10-gray);
    margin-left: 5px;
}

.comment-content {
    color: var(--mc10-dark);
    line-height: 1.6;
    margin-bottom: 15px;
    white-space: pre-wrap;
}

.comment-project {
    display: inline-block;
    background: rgba(244, 180, 0, 0.1);
    color: var(--mc10-primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.no-comments {
    text-align: center;
    padding: 40px 20px;
    color: var(--mc10-gray);
}

.no-comments i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-comments h3 {
    margin-bottom: 10px;
    color: var(--mc10-dark);
}

.comments-stats {
    background: linear-gradient(135deg, var(--mc10-dark), #333);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: rgba(255,255,255,0.8);
}

.stat-item .value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--mc10-primary);
}

/* Contact CTA (Comments page) */
.contact-cta {
    background: linear-gradient(135deg, var(--mc10-primary), #e0a600);
    color: var(--mc10-dark);
    padding: 25px;
    border-radius: 12px;
    margin-top: 40px;
    text-align: center;
}

.contact-cta h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-cta p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--mc10-dark);
    color: var(--mc10-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-cta-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.mc10-footer {
    background-color: var(--mc10-dark);
    color: var(--mc10-white);
    padding: 40px 0 20px;
    margin-top: auto;
}

.mc10-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.mc10-footer-col h3 {
    color: var(--mc10-primary);
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.mc10-footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--mc10-primary);
}

.mc10-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mc10-footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.mc10-footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mc10-footer-links a:hover {
    color: var(--mc10-primary);
    padding-left: 5px;
}

.mc10-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.mc10-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--mc10-white);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mc10-social-links a:hover {
    background: var(--mc10-primary);
    color: var(--mc10-dark);
    transform: translateY(-3px);
}

.mc10-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN (Consolidated) ===== */
@media (max-width: 1024px) {
    .mc10-process-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .folders-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .nav-menu {
        gap: 10px;
        flex-wrap: wrap;
    }

    .nav-menu a {
        padding: 10px 0;
        font-size: 0.9rem;
    }

    /* Logo Responsive */
    .mc10-logo-img {
        height: 50px !important;
        width: auto !important;
        max-width: 100%;
        object-fit: contain;
    }
    
    .mc10-logo-title {
        font-size: 1.4rem;
    }
    
    .mc10-logo-subtitle {
        font-size: 0.8rem;
    }
    
    .nav-logo {
        gap: 0;
    }

    /* Home Responsive */
    .mc10-hero h1 {
        font-size: 2.5rem;
    }

    .mc10-video-container,
    .mc10-about-image, 
    .mc10-about-image img,
    .mc10-about-image video,
    .mc10-about-image iframe {
        height: auto !important;
        min-height: 250px;
        max-height: 300px;
    }

    .mc10-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .mc10-hero {
        padding: 60px 0;
    }

    .mc10-hero-actions .mc10-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .mc10-section {
        padding: 60px 0;
    }
    
    .mc10-about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mc10-why-choose ul {
        grid-template-columns: 1fr;
    }
    
    .mc10-process-blocks {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mc10-process-block:hover {
        transform: translateY(-10px) scale(1.02);
        min-height: 300px;
    }
    
    .mc10-testimonial-carousel {
        height: 450px;
    }
    
    .mc10-testimonial-slide {
        padding: 30px 20px;
        font-size: 1rem;
    }
    
    .mc10-testimonial-text {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .mc10-testimonial-text:before {
        left: 0;
    }
    
    .mc10-testimonial-text:after {
        right: 0;
    }
    
    .mc10-testimonial-prev,
    .mc10-testimonial-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .mc10-testimonial-prev {
        left: 5px;
    }
    
    .mc10-testimonial-next {
        right: 5px;
    }
    
    .mc10-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mc10-cta-buttons .mc10-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .mc10-admin-modal-content {
        padding: 30px 20px;
    }
    
    .mc10-admin-modal-buttons {
        flex-direction: column;
    }

    /* Footer Responsive */
    .mc10-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Comments Responsive */
    .comments-page {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .comment-form-section,
    .comments-section {
        padding: 25px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .rating-stars label {
        font-size: 2rem;
    }

    /* Quote/Services Responsive */
    .page-header h1 {
        font-size: 2rem;
    }
    
    .quote-form-section,
    .info-section-under,
    .post-submission-section {
        padding: 25px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-section-title {
        font-size: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .folders-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .mc10-nav-ribbon {
        position: relative;
    }

    .nav-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .nav-logo {
        padding: 10px 0;
    }
    
    .nav-menu {
        gap: 8px;
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    body {
        padding-top: 0 !important; /* Keep 0 padding as nav is relative */
    }

    /* Comments */
    .comment-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .rating-stars label {
        font-size: 1.8rem;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        padding: 12px;
    }

    /* Quote/Services */
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .back-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .folder-icon {
        height: 110px;
    }
    
    .folder-icon i {
        font-size: 2.5rem;
    }
    
    .folder-content {
        padding: 18px;
    }
}

/* ===== IMAGE GALLERY MODAL ===== */
.mc10-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.mc10-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 1000px;
    border-radius: 8px;
    position: relative;
}

@media (max-width: 768px) {
    .mc10-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    /* === HOME PAGE MOBILE FIXES === */
    
    /* Hero Section */
    .mc10-hero {
        padding: 80px 0;
    }
    
    .mc10-hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    /* About Section - Stack Columns */
    .mc10-about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mc10-about-image {
        height: 300px;
    }

    /* Trust Badges - 2 Columns on Tablet */
    .mc10-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Services Grid - 2 Columns on Tablet */
    .mc10-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Process Blocks - 2 Columns on Tablet */
    .mc10-process-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mc10-process-block {
        min-height: auto;
    }

    /* Why Choose Us List */
    .mc10-why-choose ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mc10-badge-logo.mc10-badge-logo-large {
        transform: none !important; /* Prevent overflow on mobile */
        max-width: 100%;
    }

    /* Stack everything on mobile phones */
    .mc10-badges-grid,
    .mc10-services-grid,
    .mc10-process-blocks {
        grid-template-columns: 1fr;
    }
    
    .mc10-hero h1 {
        font-size: 2rem;
    }
    
    .mc10-section-title h2 {
        font-size: 2rem;
    }
    
    /* Ensure no horizontal overflow */
    .mc10-container {
        padding: 0 15px;
    }

    /* Testimonials Mobile */
    .mc10-testimonial-carousel {
        height: 500px; /* Increase height for wrapped text */
    }
    
    .mc10-testimonial-slide {
        padding: 20px 10px;
    }
    
    .mc10-testimonial-text {
        font-size: 0.95rem; /* Slightly smaller text */
        line-height: 1.5;
    }
    
    .mc10-testimonial-text:before,
    .mc10-testimonial-text:after {
        font-size: 2.5rem; /* Smaller quotes */
    }

    /* CTA Mobile */
    .mc10-cta {
        padding: 50px 0;
    }
    
    .mc10-cta h2 {
        font-size: 1.8rem;
    }
    
    .mc10-cta-buttons .mc10-btn {
        width: 100%; /* Full width buttons */
        margin-bottom: 10px;
        max-width: 100%;
    }
}

.mc10-close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.mc10-close-modal:hover,
.mc10-close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.mc10-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.mc10-modal-image-container {
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    height: 150px;
    position: relative;
}

.mc10-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mc10-modal-image-container:hover .mc10-modal-image {
    transform: scale(1.1);
}

/* ===== FOCUSED IMAGE OVERLAY ===== */
.mc10-focused-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000; /* Higher than modal */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mc10-focused-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    text-align: center;
}

.mc10-focused-image {
    max-width: 100%;
    max-height: 80vh;
    border: 2px solid #f4b400;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(244, 180, 0, 0.2);
}

.mc10-back-btn {
    background: transparent;
    color: #f4b400;
    border: 1px solid #f4b400;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mc10-back-btn:hover {
    background: #f4b400;
    color: #000;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ===== SERVICES LIGHTBOX UPDATE ===== */
.mc10-lightbox-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 20px;
}

.mc10-media-container {
    max-width: calc(100% - 160px);
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.mc10-nav-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.mc10-nav-btn:hover {
    background: #f4b400;
    color: black;
    border-color: #f4b400;
}

/* Mobile Optimization */
@media only screen and (max-width: 768px) {
    .mc10-lightbox-container {
        gap: 0; /* Remove gap */
    }

    .mc10-media-container {
        max-width: 100%; /* Full width */
        width: 100%;
        height: 100%;
        max-height: none; /* Let image control height */
    }

    /* Position navigation buttons absolutely */
    .mc10-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2005;
        background: rgba(0, 0, 0, 0.3);
        border: none;
    }

    .mc10-nav-btn.prev-btn {
        left: 10px;
    }

    .mc10-nav-btn.next-btn {
        right: 10px;
    }

    /* Reposition Back button */
    .mc10-back-btn {
        position: fixed !important; /* Force fixed positioning */
        top: 20px !important;
        left: 20px !important;
        z-index: 99999 !important; /* Ensure it is on top of everything */
        background: rgba(0, 0, 0, 0.6) !important;
        margin: 0 !important;
        border: none !important;
        color: white !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* Rotated State for Portrait Phones viewing Landscape Images */
    .mc10-focused-image.rotated {
        transform: rotate(90deg);
        /* Swap dimensions constraints */
        width: 85vh !important;
        height: 90vw !important;
        max-width: 85vh !important;
        max-height: 90vw !important;
        object-fit: contain;
    }
    
    /* Ensure iframe rotates correctly too if needed, though usually video player handles it */
    iframe.rotated {
        transform: rotate(90deg);
        width: 85vh !important;
        height: 90vw !important;
    }
}

/* Badge Logo Images */
.mc10-badge-logo-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 10px auto;
}

/* Specific container for FNB and Standard Bank - keeps same layout but allows specific targeting if needed */
.mc10-badge-logo-container.mc10-badge-logo-container-large {
    height: 100px;
    margin: 15px auto 10px auto;
}

.mc10-badge-logo {
    max-width: 160px;
    max-height: 90px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Increase max-width significantly for FNB and Standard Bank as they are wide logos */
.mc10-badge-logo.mc10-badge-logo-large {
    max-width: 280px; 
    max-height: 130px; /* Allow slight overflow to maximize visual size */
    width: auto;
    transform: scale(1.2); /* Boost size further without affecting layout flow */
}

.mc10-badge:hover .mc10-badge-logo {
    transform: scale(1.1);
}

/* Badge Checkmarks */
.mc10-badge-check {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #28a745;
    background: #e8f5e9;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px auto 0 auto;
}

/* =========================================
   MOBILE RESPONSIVE FIXES (Re-applied)
   ========================================= */

@media only screen and (max-width: 768px) {
    .mc10-gallery-item img {
         margin: 0 auto;
         display: block;
         object-position: center;
    }
    
    /* Rotated Image Fix */
    .mc10-lightbox-content.rotated {
        transform: rotate(90deg);
        width: 100vh !important;
        height: 100vw !important;
        max-width: 100vh !important;
        max-height: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media only screen and (max-width: 480px) {
    .mc10-nav-ribbon {
        position: relative;
    }
    .mc10-badge-logo-large {
        transform: none !important;
    }
    .mc10-testimonial-card {
        margin: 0 10px;
    }
    .contact-cta {
         padding: 40px 20px;
    }
}

/* About Section Height Constraints */
.mc10-video-container, .mc10-about-image {
    height: auto;
    min-height: 200px;
    max-height: 400px;
}

/* =========================================
   FOCUSED OVERLAY STYLES (Project Page Port)
   ========================================= */
.mc10-focused-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000; /* Higher than modal */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mc10-focused-image {
    max-width: 100%;
    max-height: 80vh;
    border: 2px solid #f4b400;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(244, 180, 0, 0.2);
}

@media only screen and (max-width: 768px) {
    .mc10-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2005;
        background: rgba(0, 0, 0, 0.3);
        border: none;
    }
    .mc10-back-btn {
        position: fixed !important; /* Force fixed positioning */
        top: 20px !important;
        left: 20px !important;
        z-index: 99999 !important; /* Ensure it is on top of everything */
        background: rgba(0, 0, 0, 0.6) !important;
        margin: 0 !important;
        border: none !important;
        color: white !important;
    }
}

/* =========================================
   COMMENT IMAGE STYLES
   ========================================= */
#authorImage {
    display: none;
}
.comment-item .comment-image img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f4b400;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive adjustment for comment layout */
@media (max-width: 480px) {
    .comment-item {
        flex-direction: column;
    }
    .comment-image {
        margin-bottom: 10px;
    }
}

/* Disabled Social Icon */
.disabled-social {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
    filter: grayscale(100%);
}
