/* Custom CSS for StringEasy Landing Page */

/* WOW.js Animation Custom Settings */
.wow {
    visibility: hidden;
}

/* Custom Animation Durations */
.wow.animate__animated {
    animation-duration: 1s;
}

/* Smooth animations for cards */
.insight-card.wow,
.experience-item.wow {
    animation-duration: 0.8s;
}

/* Neumorphic Input Styles */
.neumorphic-input {
    position: relative;
}

.neumorphic-input input,
.neumorphic-input select {
    background: #ededed;
    border: none;
    border-radius: 20px;
    padding: 18px 24px;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #717680;
    width: 100%;
    box-shadow: inset -5px -6px 8px rgba(255, 255, 255, 0.4), inset 5px 6px 8px rgba(210, 210, 210, 0.4);
    transition: all 0.3s ease;
}

/* Footer Newsletter Input Specific Styling */
#footer .neumorphic-input input {
    background: #ededed;
    border-radius: 20px;
    padding: 18px 24px;
    height: 56px;
}

/* Charter Section Specific Styling */
#charter .neumorphic-input {
    position: relative;
}

#charter .neumorphic-input input,
#charter .neumorphic-input select {
    width: 100%;
    height: 56px;
    padding: 18px 24px;
    background: #ededed;
    border-radius: 20px;
    font-size: 16px;
    color: #717680;
    border: none;
    box-shadow: inset -5px -6px 8px rgba(255, 255, 255, 0.4), inset 5px 6px 8px rgba(210, 210, 210, 0.4);
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
}

#charter .neumorphic-input input::placeholder,
#charter .neumorphic-input select {
    color: #717680;
}

#charter .neumorphic-input select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23717680' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 50px;
}

#charter input[type="checkbox"] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #ededed;
    box-shadow: -7px -7px 28px rgba(255, 255, 255, 0.7), 7px 7px 24px rgba(190, 190, 190, 0.6);
    appearance: none;
    cursor: pointer;
    position: relative;
}

#charter input[type="checkbox"]:checked {
    background: #fbb13f;
}

#charter input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #080a0d;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}

.neumorphic-input input:focus,
.neumorphic-input select:focus {
    outline: none;
    color: #080a0d;
    box-shadow: inset -5px -6px 8px rgba(255, 255, 255, 0.5), inset 5px 6px 8px rgba(210, 210, 210, 0.5);
}

.neumorphic-input input::placeholder {
    color: #717680;
}

.neumorphic-input select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23717680' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 50px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}


/* Header Sticky Effect */
header {
    transition: all 0.3s ease;
}

header.scrolled {
    backdrop-filter: blur(10px);
}

/* Header Responsive Fixes */
@media (max-width: 640px) {
    #header nav {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    #header {
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 15px;
    }

    #header nav {
        padding: 10px 12px;
    }
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

button:hover,
a:hover {
    transform: translateY(-2px);
}

button:active,
a:active {
    transform: translateY(0);
}

/* Swiper Customization */
.swiper {
    padding-bottom: 40px;
}

.swiper-pagination-bullet {
    background: #fbb13f;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fbb13f;
}

/* Form Validation Styles */
.neumorphic-input input:invalid:not(:placeholder-shown),
.neumorphic-input select:invalid:not(:placeholder-shown) {
    border: 2px solid #ef4444;
    box-shadow: inset -5px -6px 8px rgba(255, 255, 255, 0.4), inset 5px 6px 8px rgba(210, 210, 210, 0.4), 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.neumorphic-input input:valid:not(:placeholder-shown),
.neumorphic-input select:valid:not(:placeholder-shown) {
    border: 2px solid #10b981;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-width: 100%;
}

#mobile-menu.active {
    max-height: 500px;
}

@media (max-width: 640px) {
    #mobile-menu {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Showcase Slider Fade Effect */
.showcase-swiper .swiper-slide {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.showcase-swiper .swiper-slide-active {
    opacity: 1;
}

.showcase-content,
.showcase-image {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.swiper-slide-active .showcase-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.swiper-slide-active .showcase-image {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Experience Section Hover Effects */
.experience-item {
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    z-index: 100;
}

.experience-item:hover .experience-tooltip {
    opacity: 1;
    pointer-events: auto;
}

.experience-heart {
    transition: transform 0.2s ease;
}

.experience-heart:hover {
    transform: scale(1.1);
}

/* Marketplace Section - Elements for GSAP Animation */
.marketplace-central,
.marketplace-card-1,
.marketplace-card-2,
.marketplace-card-3,
.marketplace-card-4 {
    opacity: 1;
    transform: translateY(0);
}

.marketplace-card-1:hover,
.marketplace-card-2:hover,
.marketplace-card-3:hover,
.marketplace-card-4:hover {
    transform: translateY(-5px) scale(1.02);
    z-index: 10;
    transition: all 0.3s ease;
}

/* Tennis Insights Section - Blog Cards */
/* .insight-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: -10px -10px 40px 0px rgba(255, 255, 255, 0.8), 10px 10px 35px 0px rgba(190, 190, 190, 0.8);
}

.insight-card img {
    transition: transform 0.3s ease;
}

.insight-card:hover img {
    transform: scale(1.05);
} */

.hero-phones-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-gradient-fade {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 95px;
    background: linear-gradient(to bottom, rgba(230, 230, 230, 0) 0%, #e6e6e6 91.346%);
    z-index: 30;
    pointer-events: none;
}


/* Checkbox Styling */
input[type="checkbox"] {
    appearance: none;
    width: 24px;
    height: 24px;
    background: #ededed;
    border-radius: 6px;
    box-shadow: -7px -7px 28px rgba(255, 255, 255, 0.7), 7px 7px 24px rgba(190, 190, 190, 0.6);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked {
    background: #fbb13f;
}

input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #080a0d;
    font-weight: bold;
    font-size: 16px;
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    p {
        font-size: 0.875rem;
        line-height: 1.5rem;
    }
}

/* Error State for Form Fields */
.neumorphic-input input.error,
.neumorphic-input select.error {
    border: 2px solid #ef4444;
    box-shadow: inset -5px -6px 8px rgba(255, 255, 255, 0.4), inset 5px 6px 8px rgba(210, 210, 210, 0.4), 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}


/* Accessibility */
*:focus-visible {
    outline: 2px solid #fbb13f;
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    header,
    footer,
    button,
    .swiper-pagination {
        display: none;
    }
}