/* Script Writing Page Styles */

/* Script Hero Section */
.script-hero {
    height: 60vh;
    background: linear-gradient(rgba(46, 125, 50, 0.8), rgba(46, 125, 50, 0.8)),
                url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 80px;
    color: var(--white);
    position: relative;
}

.script-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.script-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 1.2;
    font-weight: 700;
}

.script-hero .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 500;
}

.script-hero .hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Script Features Section */
.script-features {
    padding: 6rem 0;
    background-color: var(--white);
}

.script-features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.script-features .section-subtitle {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    position: relative;
}

.script-features .section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Visual Enhancement Banner */
.visual-banner {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(96, 173, 94, 0.1));
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border: 2px solid rgba(46, 125, 50, 0.2);
    position: relative;
    overflow: hidden;
}

.visual-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner-text h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.banner-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.banner-image {
    position: relative;
}

.banner-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2);
    transition: var(--transition);
}

.banner-image img:hover {
    transform: scale(1.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(46, 125, 50, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.15);
}

.card-visual {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card:hover .card-image img {
    transform: scale(1.1);
}

.feature-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, white, var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
    z-index: 3;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.card-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(96, 173, 94, 0.1));
    border-radius: 25px;
    border: 1px solid rgba(46, 125, 50, 0.2);
    margin-top: auto;
}

.highlight-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.highlight-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Process Flow Section */
.process-flow {
    margin-top: 5rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(96, 173, 94, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.process-flow h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 3rem;
    font-weight: 600;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
    transition: var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

.step-content h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 0 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid rgba(46, 125, 50, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.15);
}

.testimonial-content {
    position: relative;
}

.quote-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(96, 173, 94, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.rating {
    display: flex;
    gap: 0.2rem;
}

.rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

/* Video Section */
.video-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(96, 173, 94, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.video-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(46, 125, 50, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.video-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.video-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.video-features .feature-tag {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(96, 173, 94, 0.1));
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

/* Script CTA Section */
.script-cta {
    padding: 6rem 0;
    background: linear-gradient(rgba(46, 125, 50, 0.05), rgba(46, 125, 50, 0.05));
    text-align: center;
}

.script-cta-content h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.script-cta-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.script-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .script-hero {
        height: 50vh;
    }
    
    .script-hero h1 {
        font-size: 2.5rem;
    }
    
    .script-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .script-hero .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .script-features h2 {
        font-size: 2rem;
    }
    
    .visual-banner {
        padding: 2rem 1.5rem;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .banner-image img {
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .script-cta-content h2 {
        font-size: 2rem;
    }
    
    .script-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .video-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .script-hero {
        height: 45vh;
    }
    
    .script-hero h1 {
        font-size: 2rem;
    }
    
    .visual-banner {
        padding: 1.5rem 1rem;
    }
    
    .banner-text h3 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        margin: 0;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .process-flow {
        padding: 2rem 1rem;
    }
    
    .process-flow h3 {
        font-size: 1.5rem;
    }
    
    .script-features {
        padding: 4rem 0;
    }
    
    .script-cta {
        padding: 4rem 0;
    }
    
    .testimonials-section {
        padding: 4rem 0;
    }
    
    .video-section {
        padding: 2rem 1rem;
    }
}