/**
 * Normal scrolling mode - Override pagepiling
 */

/* Enable normal scrolling */
html, body {
    overflow: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
}

/* Override pagepiling wrapper */
.ptf-fullpage-slider {
    height: auto !important;
    position: relative !important;
    transform: none !important;
}

/* Override pagepiling section styles */
.pp-section,
.ptf-section {
    position: relative !important;
    height: auto !important;
    min-height: auto;
    display: flex;
    align-items: center;
    transform: none !important;
}

.pp-scrollable {
    height: auto !important;
    overflow: visible !important;
}

.ptf-section__vertical-align {
    width: 100%;
    padding: 60px 0;
}

@media (width <= 767px) {
    .ptf-section__vertical-align {
        padding: 40px 0;
    }
}

.ptf-section__content {
    position: relative;
    z-index: 2;
}

/* Ken burn backgrounds need proper positioning */
.ptf-section__ken-burn-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.ptf-section__ken-burn-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer at bottom of page, not fixed */
.ptf-footer {
    position: relative !important;
    bottom: auto !important;
}

.ptf-footer--fixed {
    position: relative !important;
}

/* Footer content transition */
.ptf-footer-locales {
    transition: opacity 0.3s ease;
}

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

/* Fix button text */
.ptf-btn {
    font-family: Poppins, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}

.ptf-btn__text {
    font-family: Poppins, sans-serif !important;
    font-weight: 600 !important;
}

/* Expanded footer styles */
.ptf-footer--expanded {
    flex-direction: column;
    padding: 15px 30px;
    gap: 12px;
}

.ptf-footer-crisis {
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.ptf-footer-crisis p {
    font-size: 11px;
    color: rgb(255 255 255 / 60%);
    margin: 0 0 8px;
}

.ptf-footer-crisis-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.ptf-footer-crisis-links a {
    font-size: 11px;
    color: rgb(255 255 255 / 80%);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ptf-footer-crisis-links a:hover {
    color: var(--ptf-color-accent);
}

.ptf-footer-crisis-links a strong {
    color: #fff;
    margin-right: 5px;
}

.ptf-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}

.ptf-footer-links {
    display: flex;
    gap: 20px;
}

.ptf-footer-links a {
    font-size: 11px;
    color: rgb(255 255 255 / 60%);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ptf-footer-links a:hover {
    color: var(--ptf-color-accent);
}

.ptf-footer-copyright p {
    font-size: 11px;
    margin: 0;
}

.ptf-footer--expanded .ptf-footer-locales {
    font-size: 11px;
}

@media (width <= 768px) {
    .ptf-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .ptf-footer-crisis-links {
        flex-direction: column;
        gap: 8px;
    }

    .ptf-footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/**
 * Experience Section Slider
 */

/* Smooth transitions for the timeline slider */
.ptf-timeline-slider .swiper-slide {
    transition: opacity 0.5s ease;
}

/* Show navigation arrows */
[data-anchor="Conditions"] .ptf-swiper-button-prev,
[data-anchor="Conditions"] .ptf-swiper-button-next {
    opacity: 0.7;
}

[data-anchor="Conditions"] .ptf-swiper-button-prev:hover,
[data-anchor="Conditions"] .ptf-swiper-button-next:hover {
    opacity: 1;
}

/* Experience section typography */
.ptf-timeline-item__year {
    color: var(--ptf-color-accent) !important;
}

.ptf-timeline-item__title {
    color: #fff !important;
}

.ptf-timeline-item__text {
    color: #fff !important;
}

/* Accent color for FAQ section questions */
[data-anchor="FAQ"] h5 {
    color: var(--ptf-color-accent) !important;
}

/* Bright white text for FAQ answers */
[data-anchor="FAQ"] p {
    color: #fff !important;
}

/**
 * Side Navigation Dots
 */

/* Active dot styling */
.ptf-fullpage-slider-nav li a.active {
    background-color: var(--ptf-color-accent) !important;
    transform: scale(1.3);
}

.ptf-fullpage-slider-nav li a {
    transition: all 0.3s ease;
    cursor: pointer;
}

.ptf-fullpage-slider-nav li a:hover {
    background-color: rgb(200 255 0 / 50%);
    transform: scale(1.2);
}

/**
 * Conditions Section Spacing Fix
 */

[data-anchor="Conditions"] {
    padding: 60px 0;
}

[data-anchor="Conditions"] .ptf-gap-100 {
    height: 50px;
}

[data-anchor="Conditions"] .ptf-timeline-slider {
    padding: 20px 0;
}

[data-anchor="Conditions"] .ptf-timeline-item {
    padding: 25px 0;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}

[data-anchor="Conditions"] .ptf-timeline-item:last-child {
    border-bottom: none;
}

/* Better icon alignment */
[data-anchor="Conditions"] .col-md-3 {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Swiper navigation positioning */
[data-anchor="Conditions"] .ptf-swiper-button-prev,
[data-anchor="Conditions"] .ptf-swiper-button-next {
    position: relative;
    display: inline-block;
    margin: 20px 10px 0;
}

/**
 * Hero Section Background
 */

/* Dark gradient overlay for text legibility */
[data-anchor="Home"] .ptf-section__ken-burn-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgb(0 0 0 / 65%) 0%,
        rgb(0 0 0 / 40%) 40%,
        rgb(0 0 0 / 10%) 65%,
        transparent 80%
    );
    z-index: 1;
}

/* Hero should still fill the viewport */
[data-anchor="Home"] {
    min-height: 100vh;
    background-size: auto 100% !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
}

/* Tablet - adjust positioning */
@media (width <= 1199px) {
    [data-anchor="Home"] {
        background-size: auto 90% !important;
        background-position: 85% center !important;
    }
}

/* Mobile - scale down and reposition */
@media (width <= 767px) {
    [data-anchor="Home"] {
        background-position: 70% top !important;
        background-size: auto 65% !important;
    }
}

/**
 * Contact Section Heading Mobile Fix
 */
@media (width <= 575px) {
    [data-anchor="Contact"] h1 {
        font-size: 2.75rem;
        line-height: 1.2;
        overflow-wrap: break-word;
    }
}

@media (width >= 576px) and (width <= 991px) {
    [data-anchor="Contact"] h1 {
        font-size: 3.5rem;
    }
}

/**
 * Mobile Swipe Hint for Conditions Slider
 */
@media (width <= 767px) {
    .swipe-hint {
        display: block !important;
    }
}

/**
 * Skip to Content Link
 */
.skip-to-content:focus {
    position: fixed !important;
    left: 10px !important;
    top: 10px !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding: 10px 20px;
    background: var(--ptf-color-accent);
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}

/**
 * Contact Form Select Styling
 */
.ptf-contact-form select {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgb(255 255 255 / 30%);
    color: rgb(255 255 255 / 70%);
    font-size: 14px;
    font-family: Poppins, sans-serif;
    outline: none;
    cursor: pointer;
    appearance: none;
}

.ptf-contact-form select option {
    background: #1a1a1a;
    color: #fff;
}

.ptf-contact-form select:focus {
    border-bottom-color: var(--ptf-color-accent);
}

/**
 * Form Messages Styling
 */
.ptf-contact-form .message.success {
    color: #7c9a5e;
    padding: 10px 0;
}

.ptf-contact-form .message.danger {
    color: #e57373;
    padding: 10px 0;
}

/**
 * Offcanvas Menu Fixes
 */

/* Ensure offcanvas menu is properly hidden initially */
.ptf-offcanvas-menu {
    visibility: hidden;
}

/* Ensure hamburger menu is visible on all screen sizes */
.ptf-menu-burger {
    display: flex !important;
    cursor: pointer;
    z-index: 50;
}

/* Site overlay styling */
.ptf-site-overlay {
    opacity: 0;
    background-color: rgb(0 0 0 / 70%);
}
