/* General Reset */
body, h1, h2, h3, p, ul, li, a, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #35354d, #9d575e);
    color: #fff;
    overflow-x: hidden;
}


.effect-container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.ribbon {
    width: 10px;
    height: 250px;
    background: linear-gradient(45deg, #ff4b5c, #ff9c8b, #ff1e00);
    position: absolute;
    animation: ribbon-animation 5s infinite ease-in-out;
    opacity: 0.8;
}

@keyframes ribbon-animation {
    0% {
transform: translateY(0) translateX(0);
opacity: 1;
    }
    25% {
        transform: translateY(100px) translateX(50px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(200px) translateX(100px);
        opacity: 0.6;
    }
    75% {
        transform: translateY(100px) translateX(150px);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) translateX(200px);
        opacity: 1;
    }
}

/* Header */
header {
    padding: 10px;
}

header .logo img {
    max-width: 200px;
}

header .logo h1 {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 10px;
}

/* Hero Section */
.hero {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    height: 80vh;
    text-align: center;
    overflow: hidden;
}

#3d-phone-container {
    width: 80%;  /* Adjust as necessary */
    max-width: 400px;  /* Limiting max size */
    height: 70vh;  /* Adjust based on desired height */
    background-color: transparent;
    margin: 0 auto;
    overflow: hidden;
}


.primary-btn, .secondary-btn {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.primary-btn {
    background: linear-gradient(135deg, #c3010f, #feb47b);
    color: #fff;
}

.primary-btn:hover {
    background: linear-gradient(135deg, #feb47b, #ff7e5f);
}

.secondary-btn {
    background: #0080db;
    color: #fff;
}

.secondary-btn:hover {
    background: #777;
}

/* Features */
.features, .advantages {
    padding: 20px;
    text-align: center;
    margin-top: 10px;
}

.feature-cards, .advantage-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 10px;
    width: 150px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card h3 {
    margin: 10px 0;
}

.icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.main-caption {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-align: center;
}


/* For size and effect options */
.size-option, .fx-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    text-align: center;
    border: 2px solid #ced4da;
    border-radius: 5px;
    cursor: pointer;
    width: 15vh;
    height: 15vh;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.size-option:hover, .fx-option:hover {
    border-color: #007bff;
}

/* Selected state */
.size-option.selected, .fx-option.selected {
    border-color: #007bff;
    box-shadow: 0 0 5px #007bff;
}

/* Circular selection indicator */
.selection-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    border: 2px solid #ced4da;
    border-radius: 50%;
    background-color: white;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Active selection */
.size-option.selected .selection-indicator,
.fx-option.selected .selection-indicator {
    background-color: #007bff;
    border-color: #007bff;
}

#sizes, #effects {
        display: flex;
        flex-wrap: wrap; /* Enable wrapping to the next line */
        gap: 10px; /* Add space between boxes */
    }

.dropzone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}
        .selected {
            border: 2px solid #007bff;
        }


.dropzone:hover {
    background-color: #e9ecef;
}

#uploadProgressContainer {
    width: 100%;
}

.progress-bar {
    background-color: #007bff;
    transition: width 0.4s ease;
}



/* Adjust for mobile */
@media only screen and (max-width: 768px) {
    .effect-container {
        width: 50px; /* Smaller size on mobile */
        height: 50px; /* Smaller size on mobile */
        transition: transform 1s ease-out, opacity 1s ease-out;
    }

    .ribbon {
        width: 5px;  /* Smaller ribbon width */
        height: 150px;  /* Shorter ribbon height */
        animation: ribbon-animation 5s infinite ease-in-out;
    }

    #sizes, #effects {
        display: block; /* Stack elements for smaller screens */
        margin: 10px 0; /* Add some space between options */
    }

    .size-option, .fx-option {
        width: 40vw; /* Adjust width to fit smaller screens */
        height: 40vw; /* Adjust height to fit smaller screens */
    }
}


/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #111;
}

footer .social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

