* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.prep-section {
    background: linear-gradient( #f1f1ff 50%, #d8d9fe 100%);
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 20px;
}

.guides-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: nowrap;
}

.guide-wrapper {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.guide-wrapper:hover {
    transform: translateY(-10px);
}

.guide-image {
    width: 100%;
    height: auto;
    max-width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guide-image:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}



/* Fallback placeholder styling in case images don't load */
.guide-image {
    display: flex;
    color: #666;
    font-size: 1.2rem;
}

.guide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guide-image:hover::before {
    opacity: 1;
}

/* Optional overlay for better text readability on images */
.guide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 6;
}

.guide-wrapper:hover .guide-overlay {
    opacity: 1;
}

/* Optional text overlay for guide titles */
.guide-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    text-align: center;
    z-index: 7;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.guide-wrapper:hover .guide-info {
    opacity: 1;
    transform: translateY(0);
}

.guide-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.guide-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .prep-section {
        padding: 60px 15px;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .guides-container {
        flex-direction: column;
        gap: 40px;
    }

    .guide-image {
        width: 100%;
        height: auto;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .guide-image {
        width: 100%;
        height: auto;
        max-width: 300px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .guides-container {
        gap: 30px;
    }
}

@media (max-width: 1100px) {
  .guides-container {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .guide-wrapper {
    flex: 0 0 auto;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .guides-container {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
  }
  .guide-image {
    width: calc(33vw - 20px);
    max-width: 320px;
    height: 400px;
  }
}