body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Orbitron', sans-serif;
    scroll-behavior: smooth;
}

.parallax-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #c55df6, #baebff);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.symbol {
    position: absolute;
    font-size: 2rem;
    opacity: 0.4;
    animation: flicker 2s infinite alternate;
    animation-delay: calc(5s * var(--delay));
    color: white;
}

.content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.content h1 {
    margin: 0;
    font-size: 4rem;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
    letter-spacing: 0.1em;
}

.content button {
    margin-top: 1rem;
    margin-right: 1.5rem;
    font-size: 1.3rem;
    background: none;
    border: none;
    color: white;
    position: relative;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
    animation-delay: 1s;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
}

.content button::after {
    content: '✧';
    position: absolute;
    top: -10px;
    right: -15px;
    font-size: 1rem;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.3s, opacity 0.3s;
}

.content button::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    left: 0;
    bottom: -5px;
    background: white;
    transition: width 0.3s;
}

.content button:hover::after {
        animation: pop 0.5s forwards;
    }

.content button:hover::before {
    width: 100%;
}

.scroll-section {
    position: relative;
    background: linear-gradient(180deg, #231942, #9F86C0);
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
    color: white;
    padding: 2rem;
    text-align: center;
}

.description {
    margin-left: 150px;
    margin-right: 150px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.description h2 {
    font-size: 3rem;
}
.description h3 {
    font-size: 1.5rem;
    text-align: left;
}
.description p {
    font-size: 20px;
    text-align: justify;
    hyphens: auto;
    font-family: Raleway;
}

.description.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.divider {
    width: 50%;
    height: 1px;
    background-color: white;
    margin: 0 auto; /* Center the divider */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.divider.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.carousel-section {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.carousel-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.carousel-section h2 {
    font-size: 3rem;
}

.carousel-section button {
    margin-top: 1rem;
    margin-right: 1.5rem;
    font-size: 2rem;
    font-family: 'Orbitron', sans-serif;
    background: none;
    border: none;
    color: white;
    position: relative;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
    animation-delay: 1s;
    cursor: pointer;
}

.carousel-section button::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    left: 0;
    bottom: -5px;
    background: white;
    transition: width 0.3s;
}

.carousel-section button:hover::before {
    width: 100%;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.carousel {
    display: flex;
    overflow-x: visible;
    width: 100%; /* Full width of carousel container */
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 auto; /* Ensures each item takes its natural width */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.carousel-item img {
    max-width: 100%; /* Ensures images are responsive */
    height: auto;
    margin-bottom: 1rem;
    filter: invert(100%);
}

.carousel-item p {
    font-size: 15px;
    color: white;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.left-arrow {
    left: 1rem; /* Adjust as needed */
}

.right-arrow {
    right: 1rem; /* Adjust as needed */
}

.new-section {
    background-color: none;
    padding: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.new-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}


.new-section h2 {
    color: white;
    font-size: 3rem;
}

.image-description {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-left: 80px;
    margin-right: 80px;
}

.image {
    flex: 0 0 calc(50% - 20px);
    text-align: center;
    padding: 10px;
}

.image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}

.image p {
    font-size: 1rem;
    color: white;
}

.image h3 {
    font-size: 1.5rem; /* Adjust font size */
    color: white;
}

.new-section button {
    margin-top: 1rem;
    margin-right: 1.5rem;
    font-size: 2rem;
    font-family: 'Orbitron', sans-serif;
    background: none;
    border: none;
    color: white;
    position: relative;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
    animation-delay: 1s;
    cursor: pointer;
}

.new-section button::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    left: 0;
    bottom: -5px;
    background: white;
    transition: width 0.3s;
}

.new-section button:hover::before {
    width: 100%;
}

.client-testimonials {
    background-color: #231942; /* Adjust background color */
    text-align: center;
    margin-left: 80px;
    margin-right: 80px;
    padding-bottom: 8rem;
    padding-top: 8rem;
    padding-left: 2rem;
    padding-right: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.client-testimonials.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.client-testimonials h2 {
    color: white; /* Adjust header color */
    font-size: 2rem;
}

.testimonial-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel-container {
    overflow: hidden;
    width: 70%;
}

.testimonial-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial {
    flex: 0 0 auto;
    width: 100%;
    padding: 1rem;
    text-align: center;
}

.testimonial p {
    font-size: 1.2rem; /* Adjust font size */
    color: white; /* Adjust text color */
}

.testimonial span {
    font-size: 15px;
    color: #E0B1CB; /* Adjust testimonial author color */
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1;
    padding: 0.5rem;
}

.testimonials-left-arrow {
    left: 0.5rem; /* Adjust left position */
}

.testimonials-right-arrow {
    right: 0.5rem; /* Adjust right position */
}

footer {
    background-color: #5E548E;
    color: white;
    padding: 2rem 0;
}

.footer-section {
    text-align: center;
    align-items: center;
    justify-items: center;
    justify-content: center;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.6;
}

.footer-section .social-link {
    display: flex;
    align-items: center;
    text-align: center;
    justify-items: center;
    justify-content: center;
}

.footer-section .social-link img {
    width: 50px;
    margin-right: 10px;
    vertical-align: middle;
}

.copyright {
    text-align: center;
    color: white;
    font-size: 0.8rem;
    margin-top: 5rem;
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.footer-section img {
    width: 50px;
    align-items: center;
    filter: invert(1);
}

ul {
    list-style-type: none;
    padding: 0;
}

ul.social-links li {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
}

ul.social-links li a {
    color: #fff;
}

.copyright p {
    font-size: 0.8rem;
}

.star {
    position: absolute;
    font-size: 24px;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
    opacity: 1;
    animation: spin-fade 1s linear;
    pointer-events: none;
}
  
@keyframes spin-fade {
    0% {
      transform: rotate(0deg) scale(1);
      opacity: 1;
    }
    50% {
      transform: rotate(180deg) scale(1.5);
    }
    100% {
      transform: rotate(360deg) scale(1);
      opacity: 0;
    }
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes flicker {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.1; }
}

@keyframes pop {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Responsive Design: Media Queries */

/* For tablets and smaller desktops */
@media (max-width: 1024px) {
    .parallax-section {
        height: 90vh;
    }

    .content h1 {
        font-size: 3rem; /* Reduce the font size for tablets */
    }

    .content button {
        font-size: 1.2rem;
    }

    .image-description {
        margin-left: 40px;
        margin-right: 40px;
    }

    .image {
        flex: 0 0 calc(100% - 20px); /* Make images stack vertically */
        padding: 5px;
    }

    .description {
        margin-left: 80px;
        margin-right: 80px;
    }

    .footer-section {
        padding: 1rem;
    }

    .carousel-container {
        width: 90%; /* Shrink carousel slightly for tablet view */
    }
}

/* For smartphones and smaller screens */
@media (max-width: 768px) {
    .parallax-section {
        height: 80vh;
    }

    .content h1 {
        font-size: 2.5rem; /* Further reduce font size for smaller screens */
    }

    .content button {
        font-size: 1rem;
    }

    .image-description {
        margin-left: 20px;
        margin-right: 20px;
    }

    .image {
        flex: 0 0 calc(100% - 10px); /* Stack images fully vertically */
    }

    .description {
        margin-left: 20px;
        margin-right: 20px;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .carousel-container {
        width: 100%; /* Make carousel full width on small screens */
    }

    /* Ensure buttons are well spaced and tappable */
    .content button,
    .carousel-section button,
    .new-section button {
        font-size: 1.2rem;
        padding: 0.75rem 1rem;
    }

    .carousel-arrow {
        font-size: 1.5rem; /* Smaller arrows on smaller screens */
    }
}

/* Even smaller mobile devices like phones in portrait mode */
@media (max-width: 480px) {
    .content h1 {
        font-size: 2rem;
    }

    .image-description {
        margin-left: 10px;
        margin-right: 10px;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.8rem;
    }

    .carousel-container {
        width: 100%; /* Ensure carousel takes up full width */
    }

    .carousel-item img {
        max-width: 80%;
        margin: 0 auto;
    }
}