/* Pasifika Pitch Deck Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    overflow: hidden;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.presentation {
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 10; /* Higher than footer */
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    padding: 40px 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow-y: auto;
    z-index: 15; /* Higher than presentation */
}

.slide-header {
    text-align: center;
    margin-bottom: 40px;
}

.pacific-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: block;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pacific-logo img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    line-height: 1.2;
    text-align: center;
}

h2 {
    font-size: 2em;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-align: center;
}

h3 {
    font-size: 1.4em;
    color: #001f3f;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2em;
    color: #666;
    font-weight: 300;
    font-style: italic;
}

.vision-quote {
    font-size: 1.6em;
    color: #ff6b35;
    font-style: italic;
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 10px;
}

.content {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

/* Floating video container for the YouTube video */
#floating-video-container {
    width: 250px;
    height: 250px;
    position: fixed;
    top: 70px;
    left: 30px;
    z-index: 10000;
    overflow: hidden;
    border: 4px solid #ff6b35;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

#floating-video-container iframe {
    width: 400px;
    height: 400px;
    margin-left: -75px;
    margin-top: -75px;
    pointer-events: auto;
}

/* Sound enable button styles */
#enable-sound {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: #ff6b35;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    z-index: 20000;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#enable-sound:hover {
    background-color: #e25a2c;
}

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

.mt-30 {
    margin-top: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-15 {
    margin-bottom: 15px;
}

.intro-image {
    max-width: 100%;
    max-height: 180px;
    border-radius: 10px;
    margin: 0 auto;
}

.large-text {
    font-size: 1.2em;
    line-height: 1.6;
    color: #333;
}

.medium-text {
    font-size: 1.1em;
    line-height: 1.6;
    margin-top: 10px;
}

.team-image {
    max-width: 150px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: block;
    background: white;
    padding: 5px;
}

.team-image.enlarged {
    max-width: 220px;
    max-height: 220px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border: 4px solid white;
}

.white-text {
    color: white;
}

.team-content-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
    width: 100%;
    max-width: 900px;
}

.team-grid.even-columns {
    grid-template-columns: 1fr 1fr;
}

.team-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-ul {
    color: white;
    line-height: 1.6;
    text-align: left;
    width: 100%;
    padding: 0 10px;
}

.team-ul.even-spacing li {
    margin-bottom: 12px;
    padding: 5px 0;
    font-size: 18px;
}

.accent-color {
    color: #ff6b35;
}

.revenue-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 180px;
    margin: 20px 0;
}

.revenue-bar {
    width: 80px;
    background: linear-gradient(to top, #ff6b35, #f7931e);
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: all 0.5s ease;
}

.revenue-bar-year1 {
    height: 50px;
}

.revenue-bar-year2 {
    height: 100px;
}

.revenue-bar-year3 {
    height: 150px;
}

.revenue-year {
    font-size: 0.7em;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
    text-align: left;
}

/* Links styling */
.accent-link {
    color: #ff6b35;
    text-decoration: none;
}

.accent-link:hover {
    text-decoration: underline;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.problem-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #ff6b35;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
}

.problem-icon {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #ff6b35;
}

.problem-icon h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #333;
}

.ecosystem-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.ecosystem-title {
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.ecosystem-desc {
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

.team-section {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 30px 20px;
    border-radius: 15px;
    color: white;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 15px;
    flex-grow: 0;
}

.stat-label {
    color: #001f3f;
    font-size: 1.1em;
    font-weight: bold;
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px auto;
    width: 100%;
    max-width: 1000px;
}

.stat-card {
    background: #ffffff;
    border: 2px solid #001f3f;
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    min-height: 160px;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b35;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    padding: 10px 15px;
    margin-bottom: 10px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    font-size: 1.1em;
    position: relative;
}

.feature-list li:before {
    content: '✓';
    color: #ff6b35;
    margin-right: 10px;
    font-weight: bold;
}

.diagram-container {
    margin: 20px auto;
    padding: 25px 15px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 1100px;
    text-align: center;
}

/* Navigation button styles removed here - using unified styles below */

/* Remove redundant navigation styles */

.pacific-ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0; /* Set height to 0 to remove the line */
    display: none; /* Hide the element completely */
    background: none; /* Remove the background */
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .team-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .slide {
        padding: 30px;
    }
    
    #floating-video-container {
        width: 200px;
        height: 200px;
        top: 60px;
        left: 30px;
    }
    
    #floating-video-container iframe {
        width: 320px;
        height: 320px;
        margin-left: -60px;
        margin-top: -60px;
    }
}

@media screen and (max-width: 576px) {
    .slide {
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.8em;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    #floating-video-container {
        width: 150px;
        height: 150px;
        top: 50px;
        left: 20px;
    }
    
    #floating-video-container iframe {
        width: 240px;
        height: 240px;
        margin-left: -45px;
        margin-top: -45px;
    }
}

/* Slide Footer */
.slide-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    background: transparent; /* Completely transparent */
    box-shadow: none; /* Remove shadow */
    z-index: 100; /* Higher z-index to ensure visibility */
    pointer-events: none; /* Allow clicks to pass through to slide content */
}

.slide-footer .nav-btn {
    pointer-events: auto; /* Make buttons clickable */
}

/* Navigation buttons */
/* Navigation buttons with round red styling */
.nav-btn {
    border-radius: 50px; /* Round buttons */
    padding: 15px 25px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-weight: bold;
    position: relative;
    z-index: 50; /* Higher than slide content but not too high */
    background: #e30613; /* Red color */
    box-shadow: 0 4px 8px rgba(227, 6, 19, 0.3); /* Red shadow */
    border: none;
    outline: none;
}

.nav-btn:hover {
    background: #c1050f; /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(227, 6, 19, 0.4);
}

.prev-btn, .next-btn {
    /* Ensure both buttons have identical styling */
    border-radius: 50px !important;
    background: #e30613 !important;
    font-size: 20px !important;
    padding: 15px 25px !important;
    box-shadow: 0 4px 8px rgba(227, 6, 19, 0.3) !important;
    border: none !important;
    outline: none !important;
}

.prev-btn {
    margin-right: 10px;
}

.next-btn {
    padding: 15px 25px;
    font-size: 22px;
}

/* Both buttons share identical styling - no special overrides needed */

/* Both buttons now share identical styling through .nav-btn class */

/* Main container for the presentation */
body, html {
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pitch-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Slide styles */
.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    padding: 20px 40px 80px 40px; /* Reduced top/side padding, increased bottom padding for footer */
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow-y: auto;
}

.slide.active {
    display: block;
}

.content {
    max-width: 1200px;
    width: 100%;
    margin: 20px auto 70px auto; /* Top margin and bottom space for the footer */
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 20; /* Higher than slide */
}

/* Typography and content styles */
h1, h2, h3, h4, h5, h6 {
    color: #333;
    margin-bottom: 20px;
}

h1 {
    font-size: 42px;
    margin-top: 40px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 32px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    font-size: 26px;
}

p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
    font-size: 18px;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
    color: #444;
    font-size: 18px;
}

/* Helper classes */
.text-center {
    text-align: center;
}

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

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

/* Grid layouts */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.grid-item {
    padding: 20px;
}

/* Feature boxes */
.feature-box {
    background-color: rgba(255, 107, 53, 0.1);
    border-left: 5px solid #ff6b35;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.feature-box h3 {
    color: #ff6b35;
    margin-bottom: 10px;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.logo {
    max-width: 300px;
    margin: 0 auto 30px auto;
}

/* Team member cards */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.team-member {
    padding: 20px;
    background-color: rgba(42, 147, 213, 0.1);
    border-radius: 5px;
    text-align: center;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px auto;
}

.team-member h3 {
    margin-bottom: 5px;
}

.team-member p {
    font-style: italic;
    margin-bottom: 10px;
}

/* Quote styling */
blockquote {
    font-style: italic;
    border-left: 5px solid #ff6b35;
    padding-left: 20px;
    margin: 20px 0;
    color: #555;
}

/* Footer */
.slide-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    z-index: 100; /* Visible but lower than slide content */
}

/* Media queries for responsiveness */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .slide {
        padding: 20px 30px;
    }
    
    .slide-footer {
        padding: 10px 20px;
    }
    
    .nav-btn, .prev-btn, .next-btn {
        padding: 10px 20px !important;
        font-size: 18px !important;
        border: none !important;
        outline: none !important;
        border-radius: 50px !important;
        background: #e30613 !important;
        box-shadow: 0 4px 8px rgba(227, 6, 19, 0.3) !important;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .grid-container, .team-grid {
        grid-template-columns: 1fr;
    }
    
    #floating-video-container {
        width: 200px;
        height: 200px;
        top: 60px;
        left: 20px;
    }
    
    #floating-video-container iframe {
        width: 360px;
        height: 360px;
        margin-left: -80px;
        margin-top: -80px;
    }
}

@media (max-width: 480px) {
    .slide {
        padding: 15px 20px;
        padding-bottom: 70px; /* Add space at bottom for navigation */
    }
    
    .slide-footer {
        padding: 10px 15px;
        bottom: 0;
    }
    
    .nav-btn, .prev-btn, .next-btn {
        padding: 8px 15px !important;
        font-size: 16px !important;
        min-width: 100px;
        text-align: center;
        border: none !important;
        outline: none !important;
        border-radius: 50px !important;
        background: #e30613 !important;
        box-shadow: 0 4px 8px rgba(227, 6, 19, 0.3) !important;
    }
    
    h1 {
        font-size: 28px;
        margin-top: 30px;
    }
    
    #floating-video-container {
        width: 150px;
        height: 150px;
        top: 50px;
        left: 15px;
    }
    
    #floating-video-container iframe {
        width: 300px;
        height: 300px;
        margin-left: -75px;
        margin-top: -75px;
    }
}
