
/* Hero Section */
.hero-section {
    padding: 8rem 2rem 6rem;
    background: linear-gradient(135deg, rgba(108,124,171,0.1) 0%, rgba(203,127,127,0.1) 100%);
    position: relative;
    overflow: overflow-x;

}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/grid-pattern.svg');
    opacity: 0.1;
    animation: movePattern 20s linear infinite;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.pre-title {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255,255,255,0.9);
    border-radius: 25px;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 1.5rem 0;
    color: var(--gray);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

/* Company Logos */
.trusted-by {
    margin-top: 3rem;
}

.trusted-by p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.company-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.company-logos img {
    height: 30px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.company-logos img:hover {
    opacity: 1;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue);
    font-family: 'League Spartan', sans-serif;
    display: block;
}

.stat-label {
    color: var(--gray);
    font-size: 1rem;
}

/* Video Tutorials Section */
.video-tutorials {
    padding: 6rem 2rem;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(108,124,171,0.1) 0%, rgba(203,127,127,0.1) 100%);
    border-radius: 25px;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray);
    max-width: 600px;
    margin: 1rem auto 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--blue);
    overflow: hidden;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
    color: black;
}

.play-button:hover {
    background: white;
}

.video-duration {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.video-content {
    padding: 1.5rem;
}

.video-content h3 {
    margin-bottom: 0.5rem;
    color: var(--blue);
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Blog Posts Section */
.blog-posts {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(108,124,171,0.05) 0%, rgba(203,127,127,0.05) 100%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.blog-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--blue);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

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

.author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

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

/* CTA Section */
.home-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(108,124,171,0.1) 0%, rgba(203,127,127,0.1) 100%);
    padding: 6rem 2rem;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/cta-pattern.svg');
    opacity: 0.1;
    animation: movePattern 15s linear infinite;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Animations */
@keyframes movePattern {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-card.featured {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 1rem 4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .company-logos {
        gap: 1.5rem;
    }

    .company-logos img {
        height: 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .video-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .container {
      width: 100%;
      padding: 0 15px;
    }
  }
  
@media (max-width: 480px) {
    .pre-title {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .video-content h3,
    .blog-content h3 {
        font-size: 1.2rem;
    }
}