/* Base styles and variables */
:root {
    --primary-color: #FFA000;
    --secondary-color: #333333;
    --background-color: #FFFFFF;
    --light-grey: #666666;
    --text-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.15);
    --transition-speed: 0.3s;
}

/* Dark theme variables */
[data-theme="dark"] {
    --background-color: #1a1a1a;
    --text-color: #FFFFFF;
    --light-grey: #999999;
    --secondary-color: #FFFFFF;
    --shadow-color: rgba(255, 255, 255, 0.1);
}

/* Reset and global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header styles */
header {
    background-color: var(--background-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 0;
}

.brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 10px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
    margin: 0;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

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

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    min-height: 40vh;
    padding: 4rem 2rem;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

h1 {
    margin-bottom: 1.5rem;
}

h1 .primary {
    display: block;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

h1 .secondary {
    display: block;
    font-size: 2rem;
    color: var(--text-color);
}

.description {
    color: var(--light-grey);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 50%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: fadeInRight 1.2s ease-in-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed);
    text-decoration: none;
    margin-right: 1rem;
}

.btn i {
    font-size: 1.2em;
}

.android-btn {
    background-color: #3ddc84; /* Android green */
    color: var(--secondary-color);
}

.iphone-btn {
    background-color: #333333;
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Services section */
.services {
    padding: 4rem 2rem;
    text-align: center;
}

.services h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services .subtext {
    color: var(--light-grey);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* About section */
.about {
    padding: 4rem 2rem;
}

/* Footer styles */
.footer-wave {
    width: 100%;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 60px;
}

footer {
    background-color: var(--secondary-color);
    color: white;
    position: relative;
}

.footer-content {
    padding: 2rem 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-about p {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.learn-more-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: #ccc;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
    font-size: 0.9rem;
}

.credits {
    margin-top: 0.5rem;
    color: #999;
}

/* Responsive footer */
@media (max-width: 991px) {
    .footer-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-connect {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .footer-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-connect {
        grid-column: auto;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #FFB300; /* Slightly darker shade */
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    h1 .primary {
        font-size: 2.5rem;
    }

    h1 .secondary {
        font-size: 1.5rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Enhanced Responsive Design */
/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
        margin: 0 auto;
    }

    .hero {
        padding: 6rem 4rem;
    }

    h1 .primary {
        font-size: 4rem;
    }

    .brand {
        font-size: 3rem;
    }
}

/* Medium screens (992px to 1199px) */
@media (max-width: 1199px) {
    .hero {
        padding: 4rem 3rem;
    }

    h1 .primary {
        font-size: 3.2rem;
    }

    .hero-img {
        max-width: 55%;
    }
}

/* Tablet screens (768px to 991px) */
@media (max-width: 991px) {
    .hero {
        padding: 3rem 2rem;
        gap: 1.5rem;
    }

    h1 .primary {
        font-size: 2.8rem;
    }

    h1 .secondary {
        font-size: 1.8rem;
    }

    .description {
        font-size: 1rem;
    }

    .services h2 {
        font-size: 2rem;
    }

    .brand {
        font-size: 2.2rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
    }

    .hero-img {
        max-width: 60%;
    }
}

/* Mobile screens (up to 767px) */
@media (max-width: 767px) {
    header {
        padding: 15px;
    }

    .brand {
        font-size: 2rem;
        text-align: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    h1 .primary {
        font-size: 2.2rem;
    }

    h1 .secondary {
        font-size: 1.5rem;
    }

    .hero-image {
        margin-top: 2rem;
        width: 100%;
    }

    .hero-img {
        max-width: 80%;
        animation: fadeInUp 1.2s ease-in-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0;
        justify-content: center;
    }

    .services {
        padding: 2rem 1rem;
    }

    .services h2 {
        font-size: 1.8rem;
    }

    .services .subtext {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* Small mobile screens (up to 480px) */
@media (max-width: 480px) {
    h1 .primary {
        font-size: 1.8rem;
    }

    h1 .secondary {
        font-size: 1.2rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .services h2 {
        font-size: 1.5rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    .copyright {
        font-size: 0.8rem;
    }

    .hero-img {
        max-width: 90%;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 12px;
        right: 12px;
        font-size: 18px;
    }
}

/* Add service card responsive styles */
.service-carousel {
    display: grid;
    gap: 2rem;
    padding: 1rem;
}

@media (min-width: 768px) {
    .service-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-carousel {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Add service card styles */
.service-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.15);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    box-shadow: 0 0 0 rgba(255, 160, 0, 0);
    transition: all 0.3s ease;
    pointer-events: none;
}

.service-card:hover::after {
    box-shadow: 0 0 32px rgba(255, 160, 0, 0.1);
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: -40px auto 2rem -40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
    background: var(--primary-color);
    filter: url(#bubble);
}

.bubble-icon {
    font-size: 2rem;
    color: white;
    z-index: 2;
    animation: counter-rotate 10s linear infinite;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
    animation: rotate 10s linear infinite;
}

.customer-icon::before {
    background: #4CAF50;
}

.shop-icon::before {
    background: var(--primary-color);
}

.wholesale-icon::before {
    background: #03A9F4;
}

.logistics-icon::before {
    background: #F44336;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes counter-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 160, 0, 0.3);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .service-icon {
        width: 60px;
        height: 60px;
        margin: -30px auto 1.5rem -30px;
    }
    
    .bubble-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-icon {
        width: 50px;
        height: 50px;
        margin: -25px auto 1.2rem -25px;
    }
    
    .bubble-icon {
        font-size: 1.2rem;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-grey);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive button styles */
@media (max-width: 767px) {
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0;
        justify-content: center;
    }
}

/* About section styles */
.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-row {
    position: relative;
    padding: 4rem 2rem;
    margin: 2rem 0;
    overflow: hidden;
}

.background-number {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    z-index: 0;
    transition: color 0.3s ease;
}

.about-content {
    position: relative;
    display: flex;
    gap: 4rem;
    align-items: center;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    opacity: 0;
    transform: translateX(-50px);
}

.about-text.animate {
    animation: slideInLeft 1s ease forwards;
}

.about-text .headline {
    color: var(--primary-color);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.about-text .title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.about-text .description {
    color: var(--light-grey);
    margin-bottom: 2rem;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(10px);
}

.about-image {
    flex: 1;
    opacity: 0;
    transform: translateX(50px);
}

.about-image.animate {
    animation: slideInRight 1s ease forwards;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive styles for about section */
@media (max-width: 991px) {
    .about-content {
        gap: 2rem;
    }

    .background-number {
        font-size: 8rem;
    }

    .about-text .title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text, .about-image {
        transform: translateY(30px);
    }

    .about-text.animate, .about-image.animate {
        animation: slideInUp 1s ease forwards;
    }

    .background-number {
        font-size: 6rem;
        width: 100%;
        text-align: center;
    }

    .read-more {
        display: block;
        margin-top: 1rem;
    }

    @keyframes slideInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Service popup styles */
.service-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    position: relative;
    background-color: white;
    margin: 5vh auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

#popupTitle {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

#popupDescription {
    flex: 1;
    overflow-y: auto;
    padding-right: 1rem;
    margin-bottom: 1rem;
}

.popup-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    background: white;
    position: sticky;
    bottom: 0;
}

.popup-btn {
    flex: 1;
    height: 48px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.popup-btn.close-btn,
.popup-btn.show-more-btn,
.popup-btn.extra-btn {
    margin: 0;
    vertical-align: middle;
}

.popup-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.popup-btn.inactive {
    background-color: var(--secondary-color);
    color: white;
}

.popup-btn:hover {
    transform: translateY(-2px);
}

.popup-btn:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .popup-content {
        margin: 10% auto;
        padding: 1.5rem;
    }

    .popup-btn {
        height: 44px;
        font-size: 0.9rem;
    }
}

/* Add styles for the Show More button */
.show-more-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    margin-top: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background-color: #FFB300;
    transform: translateY(-2px);
}

.show-more-btn:active {
    transform: translateY(0);
}

/* Update popup styles for better content display */
.popup-description {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.feature-list li {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--item-index));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add specific styles for the extra button */
.popup-btn.extra-btn {
    margin-top: 0;
    align-self: center;
}

/* Update feature list styles */
.feature-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.roman {
    color: var(--primary-color); /* Change Roman numerals to orange */
    font-weight: 600;
    min-width: 25px; /* Ensure consistent spacing */
    display: inline-block;
}

/* Animation for feature items */
.feature-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--item-index));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Update header styles */
.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.theme-toggle {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-content {
        justify-content: center;
        padding: 12px 20px;
    }
    
    .brand {
        text-align: center;
    }
}

/* Update background number styles */
.background-number {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03); /* Light mode opacity */
    line-height: 1;
    z-index: 0;
    transition: color 0.3s ease;
}

/* Dark mode styles for background numbers */
[data-theme="dark"] .background-number {
    color: rgba(255, 255, 255, 0.07); /* Increased opacity for dark mode */
}

/* Responsive adjustments for background numbers */
@media (max-width: 991px) {
    .background-number {
        font-size: 8rem;
    }
}

@media (max-width: 767px) {
    .background-number {
        font-size: 6rem;
        width: 100%;
        text-align: center;
    }
}

/* Update carousel styles */
.carousel-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow-x: auto;
    perspective: 1000px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    min-height: 70vh;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    width: 100%;
    min-height: 70vh;
}

.carousel-slide {
    position: absolute;
    width: 60%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transform-origin: center center;
    left: 50%;
}

/* Base positioning and layering */
.carousel-slide[data-index="1"] { 
    transform: translate(-80%, 0) scale(0.75);
    z-index: 1;
    filter: grayscale(100%);
}

.carousel-slide[data-index="2"] { 
    transform: translate(-65%, 0) scale(0.8);
    z-index: 2;
    filter: grayscale(80%);
}

.carousel-slide[data-index="3"] { 
    transform: translate(-50%, 0) scale(1);
    z-index: 5;
    filter: grayscale(0%);
}

.carousel-slide[data-index="4"] { 
    transform: translate(-35%, 0) scale(0.8);
    z-index: 2;
    filter: grayscale(80%);
}

.carousel-slide[data-index="5"] { 
    transform: translate(-20%, 0) scale(0.75);
    z-index: 1;
    filter: grayscale(100%);
}

/* Active slide styles */
.carousel-slide.active {
    transform: translate(-50%, 0) scale(1) !important;
    filter: grayscale(0%) !important;
    z-index: 10 !important;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-container {
        max-width: 100%;
        overflow-x: auto;
        min-height: 60vh;
        scroll-snap-type: x mandatory;
    }
    
    .carousel-track {
        min-height: 60vh;
        display: flex;
        padding: 0;
        gap: -40%;
    }
    
    .carousel-slide {
        position: relative;
        width: 90%;
        left: auto;
        flex-shrink: 0;
        scroll-snap-align: center;
        margin: 0 -35%;
        transform: scale(0.8) !important;
        filter: grayscale(80%) !important;
    }

    .carousel-slide.active {
        transform: scale(1) !important;
        filter: grayscale(0%) !important;
    }

    .carousel-slide img {
        max-height: 60vh;
    }
}

/* Add carousel navigation styles */
.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.nav-btn:not(:disabled):hover {
    transform: scale(1.1);
}

.nav-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cccccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
}

/* Update responsive styles */
@media (max-width: 768px) {
    .carousel-navigation {
        gap: 1rem;
    }
    
    .nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .nav-dot {
        width: 6px;
        height: 6px;
    }
    
    .nav-dot.active {
        width: 10px;
        height: 10px;
    }
} 