/* style.css */

body {
    font-family: 'Poppins', sans-serif;
}

/* Header styles */
#main-header {
    transition: background-color 0.3s ease, padding 0.3s ease;
}

#main-header.scrolled {
    background-color: rgba(17, 24, 39, 0.9);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Navigation links */
.nav-link {
    position: relative;
    color: #fff;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #8B5CF6;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #8B5CF6;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero section */
#hero {
    position: relative;
    overflow: hidden;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    min-height: 100px;
    max-height: 150px;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% { 
        transform: translate3d(85px,0,0);
    }
}

/* Service cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Testimonial carousel */
@keyframes carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.animate-carousel {
    animation: carousel 30s linear infinite;
}

.animate-carousel:hover {
    animation-play-state: paused;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-600 {
    animation-delay: 600ms;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1F2937;
}

::-webkit-scrollbar-thumb {
    background: #4B5563;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B7280;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.25rem;
    }

    .waves {
        height: 40px;
        min-height: 40px;
    }
}

/* Testimonial carousel */
.testimonial-carousel {
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .testimonial-slide {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    height: 400px; /* Fixed height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.testimonial-content {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.testimonial-content::-webkit-scrollbar {
    width: 6px;
}

.testimonial-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.testimonial-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.testimonial-author {
    text-align: center;
}

.testimonial-author img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    #desktop-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .testimonial-container {
        display: flex;
        flex-direction: column;
    }
    .testimonial-card {
        width: 100%;
        margin-bottom: 2rem;
    }
}

/* style.css */

/* ... (previous styles remain unchanged) ... */

/* Responsive adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero p {
        font-size: 1rem;
    }

    .waves {
        height: 40px;
        min-height: 40px;
    }

    /* Adjust container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Reduce padding for sections */
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Adjust service cards */
    .service-card {
        padding: 1rem;
    }

    /* Adjust testimonial cards */
    .testimonial-card {
        padding: 1rem;
        height: auto;
        min-height: 300px;
    }

    /* Adjust form inputs */
    input[type="text"],
    input[type="email"],
    textarea {
        padding: 0.5rem;
    }

    /* Adjust button padding */
    button {
        padding: 0.5rem 1rem;
    }
}

/* Testimonial carousel adjustments */
@media (max-width: 767px) {
    .testimonial-slide {
        flex: 0 0 100%;
        max-width: 10%;
        padding: 0 0.5rem;
    }

    .testimonial-card {
        margin-bottom: 1rem;
    }
}

/* Mobile menu adjustments */
@media (max-width: 767px) {
    #mobile-menu {
        width: 100%;
        left: 0;
        right: 0;
    }

    #mobile-menu a {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #mobile-menu a:last-child {
        border-bottom: none;
    }
}

/* General mobile adjustments */
@media (max-width: 640px) {
    .text-6xl {
        font-size: 2.5rem;
    }

    .text-4xl {
        font-size: 2rem;
    }

    .text-2xl {
        font-size: 1.5rem;
    }

    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .mb-12 {
        margin-bottom: 2rem;
    }
}