/* Schar Heating & Cooling - Presentation Styles */

:root {
    --schar-orange: #d6763f;
    --schar-blue: #1a458a;
    --schar-dark-blue: #1E3A8A;
    --schar-light-gray: #F8F9FA;
    --schar-dark-gray: #374151;
    --white: #FFFFFF;
    --black: #000000;
    
    --font-primary: 'Arial', sans-serif;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    --font-weight-black: 900;
}

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

/* iOS Safari resets for interactive elements */
a, button {
    -webkit-tap-highlight-color: transparent;
}
button, .sidebar-toggle, .mobile-nav-toggle, .mobile-sidebar-toggle, .mobile-sidebar-close {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    background-color: transparent;
    border: none;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    /* Beautiful background applied globally */
    background: 
        radial-gradient(circle at 20% 80%, rgba(214, 118, 63, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 69, 138, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(214, 118, 63, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
}
.sidebar-nav {
    grid-column: 1;
}
.main-content {
    grid-column: 2;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 80px,
            rgba(214, 118, 63, 0.03) 80px,
            rgba(214, 118, 63, 0.03) 82px
        );
    pointer-events: none;
    z-index: 1;
}

.presentation-mode {
    height: 100vh;
    overflow: hidden;
}

.fullscreen-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 20px 20px;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Google Reviews Section */
.reviews-section {
    margin: 40px auto 60px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.reviews-container {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 35px 45px;
    box-shadow: 
        0 16px 50px rgba(0, 0, 0, 0.08),
        0 8px 32px rgba(214, 118, 63, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(214, 118, 63, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reviews-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(214, 118, 63, 0.03) 0%, 
        rgba(26, 69, 138, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.reviews-container:hover::before {
    opacity: 1;
}

.reviews-container:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 12px 40px rgba(214, 118, 63, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(214, 118, 63, 0.3);
}

.reviews-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.reviews-stars {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviews-stars .star {
    color: #ffc107;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reviews-rating {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--schar-dark-blue);
    margin-left: 15px;
}

.reviews-info {
    text-align: right;
}

.reviews-count {
    color: var(--schar-dark-gray);
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 8px;
}

.reviews-link {
    color: var(--schar-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.reviews-link:hover {
    color: var(--schar-dark-blue);
    transform: translateX(4px);
}

/* Responsive Reviews */
@media (max-width: 768px) {
    .reviews-container {
        padding: 25px 30px;
        border-radius: 16px;
    }
    
    .reviews-display {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .reviews-info {
        text-align: center;
    }
    
    .reviews-stars .star {
        font-size: 1.6rem;
    }
    
    .reviews-rating {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        margin: 30px auto 40px auto;
        padding: 0 16px;
    }
    
    .reviews-container {
        padding: 20px 25px;
    }
    
    .reviews-display {
        gap: 15px;
    }
    
    .reviews-stars .star {
        font-size: 1.4rem;
    }
    
    .reviews-rating {
        font-size: 1.2rem;
    }
    
    .reviews-link {
        font-size: 0.9rem;
    }
}

/* Global App Background - Pattern Overlay */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 80px,
            rgba(214, 118, 63, 0.03) 80px,
            rgba(214, 118, 63, 0.03) 82px
        );
    pointer-events: none;
    z-index: -1;
}

/* Keep original landing page class for compatibility */
.landing-page {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.landing-page .container,
.main-content .container {
    position: relative;
    z-index: 2;
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px; /* Added for spacing from navigation */
}

.main-logo {
    max-width: 300px;
    height: auto;
}

.presentation-title {
    font-size: 3rem;
    font-weight: var(--font-weight-black);
    text-align: center;
    color: var(--schar-dark-blue);
    margin-bottom: 60px;
}

.table-of-contents {
    max-width: 800px;
    margin: 0 auto;
}

.table-of-contents h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    text-align: center;
    color: var(--black);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.toc-items {
    margin-bottom: 50px;
}

.toc-item {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    margin-bottom: 20px;
    background: var(--white);
    border-radius: 10px;
    text-decoration: none;
    color: var(--black);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid var(--schar-orange);
}

.toc-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    background: var(--schar-light-gray);
}

.toc-number {
    font-size: 2rem;
    font-weight: var(--font-weight-black);
    color: var(--schar-orange);
    margin-right: 30px;
    min-width: 60px;
}

.toc-title {
    flex: 1;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--schar-dark-blue);
}

.toc-arrow {
    font-size: 2rem;
    color: var(--schar-orange);
    font-weight: var(--font-weight-bold);
}

.start-presentation {
    text-align: center;
}

.btn-start {
    display: inline-block;
    padding: 20px 50px;
    background: var(--schar-orange);
    color: var(--white);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-start:hover {
    background: var(--schar-dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Video Grid Layout */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(20px, 4vw, 30px);
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 clamp(16px, 4vw, 20px);
    width: 100%;
    box-sizing: border-box;
}

/* Single Video Layout */
.video-grid.single-video {
    grid-template-columns: 1fr;
    max-width: 400px;
}

/* Process Grid Layout */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.process-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--schar-orange);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.process-step-title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-black);
    color: var(--schar-dark-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.process-step-list li {
    color: var(--schar-dark-blue);
    font-size: 1rem;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.process-step-list li:before {
    content: "•";
    color: var(--schar-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .process-card {
        padding: 25px 20px;
    }
    
    .process-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .process-step-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
}

/* Guarantee Block Styles */
.guarantee-block {
    max-width: 700px;
    margin: 40px auto 30px auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 32px 24px 32px;
}
.guarantee-intro {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 18px;
    color: var(--schar-dark-blue);
}
.guarantee-list {
    margin-left: 18px;
    padding-left: 0;
    font-size: 1rem;
    color: var(--schar-dark-blue);
}
.guarantee-list li {
    margin-bottom: 8px;
    line-height: 1.6;
    list-style: disc inside;
}
@media (max-width: 768px) {
    .guarantee-block {
        padding: 18px 10px 14px 10px;
    }
    .guarantee-intro {
        font-size: 1rem;
    }
    .guarantee-list {
        font-size: 0.95rem;
    }
}

.video-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* Video Container Styles */
.video-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--white);
    margin: 0;
    padding: 0;
    border-radius: 16px 16px 0 0;
}

.video-container iframe {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
    margin: 0;
    padding: 0;
}

.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: top !important;
    display: block;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}

.video-title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--schar-dark-blue);
    text-align: center;
    margin: 20px 20px 10px 20px;
    line-height: 1.3;
}

.video-description {
    font-size: 0.9rem;
    color: var(--schar-dark-blue);
    text-align: center;
    margin: 0 20px 20px 20px;
    opacity: 0.8;
    line-height: 1.5;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: clamp(16px, 3vw, 20px);
        margin: 20px auto;
        padding: 0 clamp(12px, 3vw, 15px);
    }
    
    .video-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .video-container {
        border-radius: 8px 8px 0 0;
    }
    
    .video-container iframe {
        height: 250px;
    }
    
    .video-title {
        font-size: 1rem;
        margin: 15px 15px 8px 15px;
    }
    
    .video-description {
        font-size: 0.85rem;
        margin: 0 15px 15px 15px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Fullscreen Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(214, 118, 63, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 69, 138, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(26, 69, 138, 0.92) 0%, 
            rgba(214, 118, 63, 0.82) 50%, 
            rgba(26, 69, 138, 0.92) 100%);
    backdrop-filter: blur(12px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.video-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    max-height: 800px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(214, 118, 63, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(214, 118, 63, 0.3);
    transform: scale(0.95);
    animation: modalContentIn 0.4s ease-out forwards;
}

@keyframes modalContentIn {
    from {
        transform: scale(0.95) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.video-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: linear-gradient(135deg, var(--schar-orange), #e67e4a);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 20px rgba(214, 118, 63, 0.4),
        0 2px 10px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--white);
}

.video-modal-close:hover {
    background: linear-gradient(135deg, #e67e4a, var(--schar-orange));
    transform: scale(1.1) rotate(90deg);
    box-shadow: 
        0 6px 25px rgba(214, 118, 63, 0.6),
        0 3px 15px rgba(0, 0, 0, 0.3);
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 12px 12px 0 0;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.video-play-button {
    width: 80px;
    height: 80px;
    background: var(--schar-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0; /* hide unicode glyph to avoid iOS emoji rendering */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
}

.video-play-button::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 22px; /* top right bottom left */
    border-color: transparent transparent transparent var(--white);
}

.video-play-button:hover {
    transform: scale(1.1);
    background: var(--schar-dark-blue);
}

.video-container {
    position: relative;
    cursor: pointer;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        height: 70%;
        border-radius: 16px;
        border-width: 1px;
    }
    
    .video-modal-close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
        border-width: 2px;
    }

    .video-play-button {
        width: 60px;
        height: 60px;
    }

    .video-play-button::before {
        border-width: 12px 0 12px 20px;
    }
}

/* Decorative Background */
.decorative-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--schar-orange) 0%, #FF8F65 100%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

/* Section Page Styles */
.section-page {
    /* Background removed to show beautiful gradient background */
}

/* Back Arrow Navigation */
.back-arrow {
    position: fixed;
    top: 30px;
    left: 350px; /* Adjusted for wider sidebar */
    width: 50px;
    height: 50px;
    background: var(--schar-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 9999; /* Increased z-index */
}

.back-arrow:hover {
    background: var(--schar-blue);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.back-arrow-text {
    position: fixed;
    top: 85px;
    left: 350px;
    background: var(--black);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.back-arrow:hover + .back-arrow-text, .back-arrow-text:hover {
    opacity: 1;
    visibility: visible;
}

/* Mobile adjustment for back arrow */
@media (max-width: 900px) {
    .back-arrow {
        left: 20px;
        top: 120px; /* Moved much further down to clear mobile header and any additional spacing */
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .back-arrow-text {
        left: 20px;
        top: 175px; /* Adjusted for new back arrow position */
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

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

.section-number {
    font-size: 1.5rem;
    color: var(--schar-orange);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 3rem;
    font-weight: var(--font-weight-black);
    color: var(--schar-dark-blue);
    margin-bottom: 20px;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-description {
    font-size: 1.25rem;
    color: var(--schar-dark-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Video Container */


.video-player {
    width: 100%;
    height: 500px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.content-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--schar-orange);
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--schar-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--schar-dark-blue);
    margin-bottom: 15px;
    text-align: center;
}

.card-description {
    color: var(--schar-dark-gray);
    text-align: center;
    line-height: 1.6;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 50px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: var(--font-weight-bold);
    color: var(--schar-dark-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--schar-light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--schar-orange);
}

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

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--schar-orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: var(--schar-dark-blue);
}

/* HERO BOXES SECTION */
.hero-boxes {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    margin: 0 auto 48px auto;
    max-width: 1200px;
    z-index: 2;
    position: relative;
}
.hero-box {
    flex: 1 1 0;
    padding: 40px 32px 36px 32px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 32px rgba(214, 118, 63, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    text-align: center;
    min-width: 200px;
    min-height: 280px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    position: relative;
    overflow: visible;
}

/* Different background colors for each box */
.hero-box.vision {
    background: linear-gradient(135deg, var(--schar-orange) 0%, #e67e4a 100%);
}

.hero-box.mission {
    background: linear-gradient(135deg, var(--schar-blue) 0%, #1e4f96 100%);
}

.hero-box.values {
    background: linear-gradient(135deg, var(--schar-orange) 0%, #e67e4a 100%);
}

.hero-box.quality {
    background: linear-gradient(135deg, var(--schar-blue) 0%, #1e4f96 100%);
}

.hero-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(214, 118, 63, 0.05) 0%, 
        rgba(26, 69, 138, 0.05) 100%);
    border-radius: 26px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hero-box:hover::before {
    opacity: 1;
}

.hero-box:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 
        0 32px 80px rgba(0, 0, 0, 0.12),
        0 16px 48px rgba(214, 118, 63, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(214, 118, 63, 0.4);
}
.hero-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    margin-top: 16px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: white;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.hero-box p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    color: white;
    opacity: 0.95;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

/* Vision and Values get blue icon backgrounds */
.hero-box.vision .hero-icon,
.hero-box.values .hero-icon {
    background: linear-gradient(135deg, var(--schar-blue) 0%, #1e4f96 100%);
    box-shadow: 
        0 8px 32px rgba(26, 69, 138, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Mission and Quality get orange icon backgrounds */
.hero-box.mission .hero-icon,
.hero-box.quality .hero-icon {
    background: linear-gradient(135deg, var(--schar-orange) 0%, #e67e4a 100%);
    box-shadow: 
        0 8px 32px rgba(214, 118, 63, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2.5;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

/* Hover states for different icon colors */
.hero-box.vision:hover .hero-icon,
.hero-box.values:hover .hero-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 40px rgba(26, 69, 138, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-box.mission:hover .hero-icon,
.hero-box.quality:hover .hero-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 40px rgba(214, 118, 63, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.15);
}
/* .hero-box.vision {
    background: var(--schar-orange);
}
.hero-box.mission {
    background: var(--schar-blue);
}
.hero-box.values {
    background: var(--schar-orange);
}
.hero-box.quality {
    background: var(--schar-blue);
} */
@media (max-width: 900px) {
    .hero-boxes {
        flex-direction: column;
        gap: 18px;
        max-width: 500px;
    }
    .hero-box {
        min-width: 0;
        min-height: 120px;
    }
}

/* Mobile Navigation and Layout */
@media (max-width: 1024px) {
    body {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    
    .sidebar-nav {
        grid-column: 1;
        grid-row: 1;
        position: relative;
        width: 100%;
        z-index: 100;
    }
    
    .main-content {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        padding: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .presentation-title {
        font-size: 2rem;
    }
    
    .table-of-contents h2 {
        font-size: 2rem;
    }
    
    .toc-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .toc-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .toc-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .decorative-background {
        display: none;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .video-player {
        height: 300px;
    }
}

@media (max-width: 900px) {
    body {
        display: block;
        grid-template-columns: none;
    }
    .main-content {
        grid-column: auto;
    }
    .container {
        width: 100%;
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
        margin: 0;
    }
}

/* Print Styles */
@media print {
    .presentation-nav,
    .nav-arrows {
        display: none !important;
    }
    
    .fullscreen-section {
        min-height: auto;
        page-break-inside: avoid;
    }
} 

/* Service Thumbnails Grid for Our Services in Action */
.service-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin: 40px 0 0 0;
    padding: 0 24px 40px 0;
}

.service-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--schar-orange, #FF6B35);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    padding: 32px 18px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    min-height: 100px;
}

.service-thumb:hover, .service-thumb:focus {
    background: var(--schar-dark-blue, #1E40AF);
    color: #fff;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
} 

/* Main Navigation Card Grid for Section Pages */
.nav-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 32px);
    justify-content: center;
    margin: 40px auto 0 auto;
    max-width: 1000px;
    padding: 0 clamp(16px, 4vw, 20px);
    width: 100%;
    box-sizing: border-box;
}

.nav-card {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(26, 69, 138, 0.08);
    border-left: 6px solid var(--schar-orange, #FF6B35);
    padding: 28px 32px;
    text-decoration: none;
    color: var(--schar-dark-blue, #1a458a);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    min-height: 120px;
    position: relative;
}

.nav-card:hover, .nav-card:focus {
    box-shadow: 0 8px 32px rgba(26, 69, 138, 0.16);
    border-left: 6px solid var(--schar-dark-blue, #1a458a);
    transform: translateY(-4px) scale(1.02);
    color: var(--schar-dark-blue, #1a458a);
}

.nav-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--schar-orange, #FF6B35);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-right: 24px;
    margin-top: 4px;
    box-shadow: 0 2px 8px rgba(214, 118, 63, 0.10);
}

.nav-card-content {
    flex: 1;
}

.nav-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--schar-dark-blue, #1a458a);
    margin-bottom: 6px;
}

.nav-card-desc {
    font-size: 1rem;
    color: var(--schar-dark-gray, #374151);
    opacity: 0.95;
}

/* Special styling for "Go to Next Section" cards */
.next-section-card {
    background: linear-gradient(135deg, var(--schar-blue) 0%, #2563eb 100%) !important;
    color: white !important;
    border: 2px solid var(--schar-orange) !important;
    position: relative;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    max-width: 500px !important;
    margin: 40px auto 0 !important;
    border-radius: 12px !important;
    padding: 40px 30px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
    min-height: 120px !important;
}

.next-section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.next-section-card:hover::before {
    transform: translateX(100%);
}

.next-section-card .nav-card-icon {
    background: var(--schar-orange) !important;
    box-shadow: 0 4px 16px rgba(214, 118, 63, 0.3);
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
    margin: 0 0 15px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.next-section-card .nav-card-title {
    color: white !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.next-section-card .nav-card-desc {
    color: rgba(255, 255, 255, 0.9) !important;
    opacity: 1;
}

.next-section-card:hover, .next-section-card:focus {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 40px rgba(26, 69, 138, 0.3);
    border-left: 6px solid var(--schar-orange) !important;
}

@media (max-width: 600px) {
    .nav-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: clamp(16px, 3vw, 18px);
        padding: 0 clamp(8px, 2vw, 12px);
    }
    .nav-card {
        padding: 22px 18px; /* ensure comfortable padding on mobile */
    }
    .nav-card-icon {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
        margin-right: 14px;
    }
    
    /* Next section card mobile adjustments */
    .next-section-card {
        padding: 30px 20px !important;
        margin: 30px auto 0 !important;
        max-width: 95% !important;
        min-height: 100px !important;
    }
    
    .next-section-card .nav-card-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
        margin: 0 0 12px 0 !important;
    }
    
    .next-section-card .nav-card-title {
        font-size: 1rem !important;
    }
}

/* Ultra-Small Screen Adjustments */
@media (max-width: 480px) {
    .nav-card-grid {
        grid-template-columns: 1fr !important;
        gap: clamp(16px, 3vw, 20px);
        padding: 0 clamp(12px, 3vw, 16px);
    }
    
    .video-grid {
        grid-template-columns: 1fr !important;
        gap: clamp(16px, 3vw, 20px);
        padding: 0 clamp(12px, 3vw, 16px);
        margin: 20px auto;
    }
    
    .fullscreen-section {
        padding: 20px clamp(12px, 3vw, 16px);
    }
    
    .container {
        padding: 0 clamp(12px, 3vw, 16px);
    }
} 

/* Team Photo Styles */
.team-photo {
    display: block;
    max-width: 1000px;
    width: 100%;
    margin: 32px auto 40px auto;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.13);
    object-fit: cover;
    height: auto;
}

/* Story Content Styles */
.story-content {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--schar-dark-blue);
    margin-bottom: 24px;
    text-align: left;
}

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

@media (max-width: 768px) {
    .story-content {
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .story-content p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
}

/* Service Page Styles */
.service-image {
    display: block;
    max-width: 1000px;
    width: 100%;
    margin: 30px auto 40px auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    object-fit: cover;
    height: auto;
}

.service-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-subtitle {
    font-size: 1.8rem;
    font-weight: var(--font-weight-black);
    color: var(--schar-dark-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--schar-dark-blue);
    text-align: center;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .service-image {
        margin: 20px auto 30px auto;
        border-radius: 12px;
    }
    
    .service-content {
        padding: 0 15px;
    }
    
    .service-subtitle {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    
    .service-content p {
        font-size: 1rem;
        line-height: 1.7;
    }
}
@media (max-width: 1100px) {
    .team-photo {
        max-width: 98vw;
    }
}
@media (max-width: 600px) {
    .team-photo {
        margin: 18px auto 24px auto;
        border-radius: 10px;
    }
} 

/* DUAL SERVICE GRID LAYOUT */
.dual-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-item .service-image {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-bottom: 20px;
}

.service-item .service-subtitle {
    font-size: 1.4rem;
    font-weight: var(--font-weight-bold);
    color: var(--schar-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
}

/* Responsive design for dual service grid */
@media (max-width: 768px) {
    .dual-service-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-item .service-image {
        height: 250px;
    }
    
    .service-item .service-subtitle {
        font-size: 1.2rem;
    }
} 

/* AC CHARGE PAGE STYLES */
.efficiency-subtitle {
    font-size: 1.2rem;
    color: #28a745;
    font-weight: var(--font-weight-bold);
    text-align: center;
    margin-top: 10px;
}

.charge-stats-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.charge-stat-section {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 30px;
}

.pie-chart-container {
    flex-shrink: 0;
}

.pie-chart {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: relative;
    background: var(--schar-orange);
}

.pie-slice {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip: rect(0, 60px, 120px, 0);
    transform-origin: center;
}

.pie-slice-90 {
    background: var(--schar-blue);
    transform: rotate(0deg);
}

.pie-slice-10 {
    background: var(--schar-orange);
    transform: rotate(324deg);
}

.pie-slice-74 {
    background: var(--schar-blue);
    transform: rotate(0deg);
}

.pie-slice-26 {
    background: var(--schar-orange);
    transform: rotate(266.4deg);
}

.stat-content {
    flex: 1;
}

.stat-title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.4;
}

.stat-efficiency-loss {
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 8px;
}

.stat-efficiency-loss.yellow {
    color: #ffc107;
}

.stat-efficiency-loss.red {
    color: #dc3545;
}

.stat-result {
    font-size: 1rem;
    color: var(--black);
    font-weight: var(--font-weight-medium);
}

/* Responsive design for AC charge page */
@media (max-width: 768px) {
    .charge-stat-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .pie-chart {
        width: 100px;
        height: 100px;
    }
    
    .pie-slice {
        clip: rect(0, 50px, 100px, 0);
    }
    
    .pie-slice-10 {
        transform: rotate(324deg);
    }
    
    .pie-slice-26 {
        transform: rotate(266.4deg);
    }
    
    .stat-title {
        font-size: 1rem;
    }
    
    .efficiency-subtitle {
        font-size: 1.1rem;
    }
} 

/* Service Life Image - 25% smaller */
.service-life-image {
    max-width: 75%;
    height: auto;
} 

/* NATE PAGE STYLES */
.nate-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.nate-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.nate-number {
    font-size: 2rem;
    font-weight: var(--font-weight-black);
    color: var(--black);
    flex-shrink: 0;
    min-width: 60px;
}

.nate-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--black);
    font-weight: var(--font-weight-medium);
}

.nate-text strong {
    font-weight: var(--font-weight-bold);
    color: var(--schar-orange);
}

/* Responsive design for NATE page */
@media (max-width: 768px) {
    .nate-point {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .nate-number {
        font-size: 1.8rem;
        min-width: auto;
    }
    
    .nate-text {
        font-size: 1rem;
    }
} 

/* THANK YOU PAGE STYLES */
.thank-you-message {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.thank-you-message p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--black);
    font-weight: var(--font-weight-medium);
    margin-bottom: 20px;
}

.thank-you-message p:last-child {
    font-weight: var(--font-weight-bold);
    color: var(--schar-orange);
    font-size: 1.3rem;
}

/* Responsive design for thank you page */
@media (max-width: 768px) {
    .thank-you-message p {
        font-size: 1.1rem;
    }
    
    .thank-you-message p:last-child {
        font-size: 1.2rem;
    }
} 

/* Tablet Layout Optimizations */
@media (min-width: 901px) and (max-width: 1200px) {
    /* Override body grid layout for tablet */
    body {
        display: block !important;
        grid-template-columns: none !important;
    }
    
    .presentation-mode {
        display: block !important;
        grid-template-columns: none !important;
    }
    
    /* Back arrow positioning for tablet */
    .back-arrow {
        left: 20px;
        top: 90px; /* Position below mobile header */
    }
    
    .back-arrow-text {
        left: 20px;
        top: 145px; /* Position below back arrow */
    }
    
    /* Container adjustments for tablet */
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    /* Hero tagline adjustments */
    .hero-tagline {
        font-size: 1.8rem;
        max-width: 800px;
        margin: 16px auto 0;
        padding: 0 20px;
    }
    
    /* Hero boxes adjustments */
    .hero-boxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 1000px;
        margin: 40px auto;
        padding: 0 20px;
    }
    
    .hero-box {
        padding: 25px 20px;
        min-height: 200px;
    }
    
    .hero-box h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .hero-box p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Table of contents adjustments */
    .table-of-contents {
        max-width: 800px;
        margin: 40px auto;
        padding: 0 20px;
    }
    
    .toc-item {
        padding: 20px 25px;
    }
    
    .toc-title {
        font-size: 1.1rem;
    }
    
    /* Section page adjustments */
    .section-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-description {
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto 40px;
    }
    
    /* Navigation cards adjustments */
    .nav-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 900px;
        margin: 40px auto;
        padding: 0 20px;
    }
    
    .nav-card {
        padding: 25px 20px;
    }
    
    .nav-card-title {
        font-size: 1.2rem;
    }
    
    .nav-card-desc {
        font-size: 0.95rem;
    }
    
    /* Video grid adjustments */
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 900px;
        margin: 40px auto;
        padding: 0 20px;
    }
    
    /* Service content adjustments */
    .service-content {
        max-width: 700px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* Dual service grid adjustments */
    .dual-service-grid {
        gap: 30px;
        max-width: 900px;
        margin: 40px auto;
        padding: 0 20px;
    }
    
    /* Charge stats adjustments */
    .charge-stats-container {
        max-width: 800px;
        margin: 40px auto;
        padding: 0 20px;
    }
    
    /* NATE content adjustments */
    .nate-content {
        max-width: 800px;
        margin: 40px auto;
        padding: 0 20px;
    }
    
    /* Thank you message adjustments */
    .thank-you-message {
        max-width: 700px;
        margin: 40px auto;
        padding: 0 20px;
    }
} 