/* ==========================================================================
   Edison & Co Removals - Modern CSS Design System
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    /* Color Palette */
    --primary: #022B49;        /* True Brand Midnight Navy */
    --primary-light: #064573;  /* Lighter Brand Navy */
    --secondary: #EBF0F5;      /* Van Silver-Grey Backdrop */
    --secondary-light: #F4F7F9;/* Soft Metallic Light Background */
    --accent: #ED8D02;         /* True Mascot Amber Orange */
    --accent-hover: #D17B00;   /* Darker Amber Orange for Hover */
    --accent-light: #FFF7E6;   /* Light Orange tint */
    
    /* Neutral Tones */
    --text-dark: #0D1B2A;      /* Deep Midnight Navy for text */
    --text-muted: #4F5E71;     /* Slate Blue-Grey for secondary body text */
    --text-light: #FFFFFF;     /* White for Dark Contexts */
    --border-color: #D2DBE5;   /* Crisp cool grey border */
    --bg-white: #FFFFFF;
    
    /* Layout Variables */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(18, 36, 60, 0.08);
    --shadow-lg: 0 20px 40px rgba(18, 36, 60, 0.12);
    --shadow-accent: 0 8px 20px rgba(242, 122, 24, 0.25);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Base resets & styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-light);
    overflow-x: hidden;
}

/* Typography Utility Classes */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.75rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
    position: relative;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background-color: var(--secondary);
}

.section-dark {
    background-color: var(--primary);
    color: var(--text-light);
}

.section-dark h2, .section-dark h3 {
    color: var(--text-light);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-header p {
    font-size: 1.125rem;
    margin-top: 0.75rem;
}

.text-accent {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 700;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(242, 122, 24, 0.35);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--text-light);
    color: var(--primary);
}

.btn-white:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.btn:active {
    transform: translateY(0);
}

/* Header & Navigation */
header {
    height: var(--header-height);
    background-color: rgba(250, 246, 240, 0.85); /* Frosty Warm White */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(18, 36, 60, 0.05);
    transition: var(--transition-fast);
}

header.scrolled {
    background-color: var(--primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled .logo-text, header.scrolled .nav-link {
    color: var(--text-light);
}

header.scrolled .logo-text span {
    color: var(--accent);
}

header.scrolled .btn-outline {
    border-color: var(--text-light);
    color: var(--text-light);
}

header.scrolled .btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary);
}

header.scrolled .mobile-menu-btn span {
    background-color: var(--text-light);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 2px solid var(--primary);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-text span {
    color: var(--accent);
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

header.scrolled .logo-sub {
    color: rgba(255, 255, 255, 0.7);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--primary);
    z-index: 1050;
    padding: 6rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav .nav-link {
    color: var(--text-light);
    font-size: 1.25rem;
}

.mobile-nav .nav-cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: auto;
    gap: 1rem;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(18, 36, 60, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1025;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    background-color: var(--secondary-light);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background-color: var(--secondary);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-light);
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item h4 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-item p {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

.hero-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge-icon {
    background-color: var(--accent);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-badge-icon img {
    width: 20px;
    height: 20px;
}

.hero-badge-text h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
}

.hero-badge-text p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Trust Badges Bar */
.trust-bar {
    background-color: var(--primary);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.trust-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.trust-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
}

/* Services Grid Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(18, 36, 60, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(242, 122, 24, 0.2);
}

.service-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-icon-badge {
    position: absolute;
    bottom: -1.5rem;
    right: 1.5rem;
    background-color: var(--accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-accent);
    border: 3px solid var(--bg-white);
}

.service-icon-badge img {
    width: 24px;
    height: 24px;
}

.service-info {
    padding: 2.25rem 1.5rem 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.925rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.service-card-link:hover {
    color: var(--accent-hover);
}

/* Calculator Section */
.calc-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.calc-form-pane {
    padding: 3.5rem;
}

.calc-subtitle {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* Option Grids */
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
}

.option-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.option-card:hover {
    border-color: var(--primary-light);
    background-color: var(--secondary-light);
}

.option-card.active {
    border-color: var(--accent);
    background-color: var(--accent-light);
}

.option-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-card-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Range Sliders */
.slider-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(242, 122, 24, 0.4);
    transition: var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.slider-val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent);
    min-width: 45px;
    text-align: right;
}

/* Dynamic Summary Pane */
.calc-summary-pane {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.calc-summary-pane::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background-color: rgba(242, 122, 24, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.summary-content {
    position: relative;
    z-index: 2;
}

.calc-summary-title {
    font-size: 1.75rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.summary-item span:last-child {
    font-weight: 600;
    color: var(--text-light);
}

.total-estimate-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2.5rem;
    text-align: center;
}

.total-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.total-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.total-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.75rem;
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 5rem;
}

.about-image-stack {
    position: relative;
}

.about-main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    height: 450px;
    object-fit: cover;
}

.about-sub-img-box {
    position: absolute;
    bottom: -2rem;
    right: 0;
    width: 50%;
    background-color: var(--bg-white);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.about-sub-img {
    border-radius: var(--radius-sm);
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.about-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-feature-icon {
    width: 22px;
    height: 22px;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.about-feature-text h5 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.about-feature-text p {
    font-size: 0.85rem;
}

/* Testimonials / Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.25rem;
    margin-bottom: 3.5rem;
}

.review-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(18, 36, 60, 0.05);
    position: relative;
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.star-icon {
    color: #FFB800;
    width: 18px;
    height: 18px;
}

.review-text {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    color: var(--text-muted);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    border: 2px solid var(--primary);
}

.author-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
}

.author-info p {
    font-size: 0.75rem;
}

.review-platform-badge {
    position: absolute;
    top: 2.25rem;
    right: 2.25rem;
    width: 24px;
    height: 24px;
    opacity: 0.75;
}

.reviews-summary-bar {
    text-align: center;
    background-color: var(--secondary);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.rating-score {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.rating-info h5 {
    font-size: 1.15rem;
    font-weight: 700;
}

.rating-info p {
    font-size: 0.85rem;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(18, 36, 60, 0.05);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    user-select: none;
}

.faq-toggle-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition-fast);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 300px;
}

/* Booking & Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-pane {
    padding-right: 2rem;
}

.contact-info-pane h3 {
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background-color: var(--bg-white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(18, 36, 60, 0.03);
}

.contact-icon-box {
    background-color: var(--secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-box img {
    width: 20px;
    height: 20px;
}

.contact-text h5 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.contact-text p {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.25rem;
}

.contact-text a:hover {
    color: var(--accent);
}

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

.social-btn {
    background-color: var(--bg-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.social-btn:hover {
    background-color: var(--accent);
    color: var(--text-light);
    transform: translateY(-2px);
}

.form-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(18, 36, 60, 0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(242, 122, 24, 0.1);
}

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

/* Footer styling */
footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 5rem 0 2rem 0;
    border-top: 5px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-text {
    color: var(--text-light);
}

.footer-logo .logo-sub {
    color: rgba(255, 255, 255, 0.7);
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a:hover {
    color: var(--text-light);
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 36, 60, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.modal-overlay.open .modal-card {
    transform: translateY(0);
}

.modal-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
}

.modal-icon img {
    width: 36px;
    height: 36px;
}

.modal-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.modal-card p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Media Queries - Responsive Optimization (Mobile First Focus)
   ========================================================================== */

@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero::before {
        display: none;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .hero-image {
        height: 360px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-image-stack {
        display: flex;
        justify-content: center;
    }
    .about-main-img {
        width: 100%;
        height: 360px;
    }
    .calc-container {
        grid-template-columns: 1fr;
    }
    .calc-summary-pane {
        padding: 3rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-info-pane {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .section {
        padding: 4rem 0;
    }
    .nav-links, .nav-cta {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-desc {
        font-size: 1.05rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-stats {
        gap: 1rem;
    }
    .stat-item h4 {
        font-size: 1.75rem;
    }
    .calc-form-pane {
        padding: 2rem;
    }
    .form-card {
        padding: 2rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    h2 { font-size: 1.75rem; }
    .logo-text { font-size: 1.25rem; }
    .logo-img { height: 40px; width: 40px; }
    .hero-image { height: 280px; }
    .option-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .slider-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .slider-val {
        text-align: left;
    }
    .calc-summary-pane {
        padding: 2rem;
    }
    .reviews-summary-bar {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
    }
    .rating-number {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-legal-links {
        justify-content: center;
        gap: 1rem;
    }
    .modal-card {
        padding: 2rem;
    }
}

/* ==========================================================================
   Advanced Visual Features, Dark Mode & Foldable Screen Optimizations
   ========================================================================== */

/* Dark Theme Variables Override */
body.dark-theme {
    --primary: #022B49;        /* Keep Brand Midnight Navy for dark container panels (summary, trust, footer) */
    --primary-light: #064573;  
    --secondary: #101F30;      /* Deep Slate Navy backdrops */
    --secondary-light: #050D17;/* Dark midnight black-blue base background */
    --text-dark: #F5F8FA;      /* Clear light grey text / headings */
    --text-muted: #8FA2B7;     /* Soft slate grey */
    --border-color: #1A2E44;   /* Cool dark border */
    --bg-white: #0C1A29;       /* Card background */
}

/* Heading & specific label overrides for dark theme */
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6,
body.dark-theme .logo-text,
body.dark-theme .nav-link,
body.dark-theme .mobile-nav-link,
body.dark-theme .calc-label,
body.dark-theme .items-drawer-btn,
body.dark-theme .about-tagline,
body.dark-theme .faq-question,
body.dark-theme .contact-card-info h5,
body.dark-theme .form-group label,
body.dark-theme .checklist-col h4,
body.dark-theme .reviews-summary-bar h5,
body.dark-theme .crew-flip-front-label h5,
body.dark-theme .review-author h5,
body.dark-theme .faq-question h4 {
    color: var(--text-dark) !important;
}

body.dark-theme .btn-secondary {
    background-color: var(--accent);
    color: var(--primary) !important;
}

body.dark-theme .btn-outline {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

body.dark-theme .btn-outline:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-light);
}

/* Ensure form controls are readable in dark theme */
body.dark-theme .form-control {
    background-color: var(--secondary-light);
    color: var(--text-dark);
    border-color: var(--border-color);
}

body.dark-theme .form-control:focus {
    border-color: var(--accent);
}

/* Ensure service cards use dark theme backgrounds */
body.dark-theme .service-card {
    background-color: var(--bg-white);
    border-color: var(--border-color);
}

/* Option Cards Dark Theme Optimization */
body.dark-theme .option-card {
    background-color: var(--bg-white);
    border-color: var(--border-color);
}

body.dark-theme .option-card-label {
    color: var(--text-dark);
}

body.dark-theme .option-card-icon img {
    filter: invert(1) brightness(2.5);
    transition: filter 0.4s ease;
}

body.dark-theme .option-card:hover {
    background-color: var(--primary-light);
    border-color: var(--accent);
}

body.dark-theme .option-card:hover .option-card-icon img {
    filter: invert(1) brightness(3);
}

body.dark-theme .option-card.active {
    background-color: var(--accent-light);
    border-color: var(--accent);
}

body.dark-theme .option-card.active .option-card-label {
    color: var(--primary) !important; /* Keep original navy text */
}

body.dark-theme .option-card.active .option-card-icon img {
    filter: none; /* Keep original dark color on light orange active background */
}

/* Global Transition for Smooth Theme Switching */
body, header, .section, .service-card, .calc-container, .form-card, footer, 
.option-card, .faq-item, input, textarea, select, .trust-bar, .contact-card {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Confetti Canvas Container */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Scroll Progress indicator */
.scroll-progress {
    position: fixed;
    top: var(--header-height);
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, #FFB070 100%);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s ease-out;
}

@media (max-width: 768px) {
    .scroll-progress {
        top: 70px;
    }
}

/* Adaptive Bottom Thumb Navigation Dock */
.bottom-nav-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    display: none; /* Hidden on desktop */
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 0.25rem;
    cursor: pointer;
    flex-grow: 1;
}

.bottom-nav-item:hover, .bottom-nav-item.active {
    color: var(--accent);
}

.bottom-nav-icon {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .bottom-nav-dock {
        display: flex;
    }
    body {
        padding-bottom: 60px; /* Space for dock nav */
    }
}



/* Parallax Scrolling Helper Variables */
.parallax-bg {
    transform: translateY(calc(var(--scroll-offset, 0px) * 0.15));
    transition: transform 0.05s ease-out;
}

/* Intersection Observer Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Crew Profile Flip Cards */
.crew-flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.crew-flip-card {
    perspective: 1000px;
    height: 380px;
    cursor: pointer;
}

.crew-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.crew-flip-card:hover .crew-flip-inner, 
.crew-flip-card.flipped .crew-flip-inner {
    transform: rotateY(180deg);
}

.crew-flip-front, .crew-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.crew-flip-front img {
    width: 100%;
    height: 80%;
    object-fit: cover;
}

.crew-flip-front-label {
    height: 20%;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
}

.crew-flip-front-label h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
}

.crew-flip-front-label p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.crew-flip-back {
    background-color: var(--primary);
    color: var(--text-light);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.crew-flip-back h5 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.crew-flip-back p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.crew-stat-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
}

/* Mascot Calculator Widget */
.mascot-calc-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--secondary-light);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.mascot-calc-img-wrapper {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.mascot-calc-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background-color: white;
}

.mascot-speech-bubble {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Visual Van Capacity SVG Layout */
.van-visualizer-box {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--secondary-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
}

.van-visualizer-svg {
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 0 auto;
}

/* Postcode Distance Fields */
.postcode-lookup-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.postcode-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.postcode-field label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
}

.postcode-field input {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.postcode-field input:focus {
    border-color: var(--accent);
    outline: none;
}

/* Item Inventory Grid */
.inventory-container {
    margin-bottom: 2rem;
}

.inventory-toggle-btn {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.inventory-toggle-btn:hover {
    background: var(--accent);
    color: white;
}

.inventory-expand-pane {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.inventory-expand-pane.expanded {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 1rem;
    padding: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.inventory-item {
    background: var(--secondary-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inventory-item span {
    font-size: 0.8rem;
    font-weight: 600;
}

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

.inventory-btn {
    border: none;
    background: var(--border-color);
    color: var(--text-dark);
    width: 22px;
    height: 22px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.inventory-btn:hover {
    background: var(--accent);
    color: white;
}

.inventory-val {
    font-size: 0.85rem;
    font-weight: 700;
    width: 14px;
    text-align: center;
}

/* Reviews Carousel Styling */
.reviews-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 2rem;
}

.reviews-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.reviews-carousel-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.25);
}

/* Checklist Layout */
.checklist-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    margin-top: 5rem;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.checklist-col h4 {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
}

.checklist-item-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.checklist-item-row input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

.checklist-item-row.completed span {
    text-decoration: line-through;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ==========================================================================
   Samsung Galaxy Fold Viewport Media Queries (Crease & Aspect-Ratio)
   ========================================================================== */

/* Fold Unfolded / Main Wide Screen Aspect Query */
@media (min-aspect-ratio: 1/1) and (max-width: 1024px) {
    .calc-container {
        grid-template-columns: 1.15fr 0.85fr;
    }
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .contact-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
    .bottom-nav-dock {
        display: flex;
    }
    body {
        padding-bottom: 60px;
    }
}

/* Fold Closed / Outer Screen Viewport Adjustment */
@media (max-width: 380px) {
    :root {
        --header-height: 60px;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero-title { font-size: 1.85rem; }
    .option-grid {
        grid-template-columns: 1fr; /* Stack options for extreme narrow display */
    }
    .postcode-lookup-row {
        grid-template-columns: 1fr; /* Stack postcode inputs */
    }
    .calc-form-pane, .form-card, .checklist-wrapper {
        padding: 1.25rem;
    }
}
