body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    background: #000;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

header .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
    white-space: nowrap;
}

nav a:hover {
    color: #fe0557;
}

.hero {
    padding: 120px 20px 60px;
    background: #000;
    position: relative;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-logo {
    flex: 1;
    text-align: center;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero .logo {
    width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero .slogan {
    font-size: 22px;
    font-weight: 600;
    color: #fe0557;
    margin-top: 15px;
    font-style: italic;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 500px;
}

.app-links {
    display: flex;
    gap: 20px;
}

.app-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #fe0557;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 10px rgba(254, 5, 87, 0.3);
}

.app-button i {
    margin-right: 8px;
}

.app-button:hover {
    background: #e0044e;
    transform: translateY(-3px);
}

.section-divider {
    height: 60px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.section-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

.carousel {
    padding: 50px 0;
    position: relative;
}

.carousel-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    position: relative;
}

.carousel-item {
    flex: 1;
    margin-right: 10px;
    margin-left: 10px;
    min-width: 0; /* Prevent flex overflow */
}

.carousel-item img {
    width: 100%;
    max-width: 275px;
    height: auto;
    object-fit: contain;
}

.features {
    padding: 50px 20px;
    text-align: center;
}

.features h2 {
    font-size: 40px;
    margin-bottom: 40px;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.feature {
    padding: 25px;
    background: #1a1a1a;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 40px;
    color: #fe0557;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.locations {
    padding: 50px 20px;
    text-align: center;
}

.locations h2 {
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: 700;
}

.locations ul {
    list-style: none;
    padding: 0;
    font-size: 18px;
}

.locations li {
    margin: 10px 0;
}

.locations span {
    color: #fe0557;
    font-style: italic;
}

.support {
    padding: 50px 20px;
    text-align: center;
}

.support h2 {
    font-size: 40px;
    margin-bottom: 40px;
    font-weight: 700;
}

#support-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

#support-form input,
#support-form textarea {
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: #333;
    color: #fff;
    font-size: 16px;
    transition: background 0.3s ease;
}

#support-form input:focus,
#support-form textarea:focus {
    background: #444;
    outline: none;
}

#support-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    padding: 15px;
    background: #fe0557;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background: #e0044e;
    transform: translateY(-3px);
}

#form-message {
    margin-top: 20px;
    font-size: 16px;
}

#pdf-viewer-container {
    max-width: 800px;
    margin: 20px auto;
    border: 2px solid #fe0557;
    border-radius: 10px;
    overflow: auto;
}

#pdf-render {
    width: 100%;
}

#pdf-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #1a1a1a;
}

@media (max-width: 768px) {
    header .container {
        justify-content: center;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-grid {
        flex-direction: column;
        align-items: center;
    }

    .hero-logo,
    .hero-content {
        width: 100%;
        text-align: center;
    }

    .hero .logo {
        width: 100%;
        max-width: 100%;
    }
    
    .hero .slogan {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .app-links {
        flex-direction: column;
        gap: 15px;
    }

    .carousel-inner {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        display: block; /* Override flex for scrolling */
    }

    .carousel-item {
        display: inline-block;
        width: 250px;
        margin: 0 5px;
        vertical-align: top;
    }

    .carousel-item img {
        width: 250px;
        height: auto;
        object-fit: contain;
    }

    .features h2,
    .locations h2,
    .support h2 {
        font-size: 32px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    #pdf-controls {
        gap: 10px;
    }

    #pdf-controls .submit-button {
        padding: 12px;
        font-size: 14px;
    }

    #pdf-controls .submit-button i {
        margin: 0;
    }
}