@import "baseStyles.css";

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
    border-radius: 24px;
    border: 2px solid var(--primary-color);
}

.about-image {
    max-width: 70%;
    display: block;
    margin: 0 auto;
    padding: 1.2rem;
}

.about-image img {
    box-shadow: var(--box-shadow);
    border-radius: 50px;
}

.about-text {
    padding: 1.2rem;
    background-color: var(--card-bg);
    box-shadow: var(--box-shadow);
    max-width: 70%;
    margin: 0 auto;
    border-radius: 24px;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.about-text-expandable {
    display: block;
}

.read-more-btn {
    display: none;
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    padding: 0.3rem 0;
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
    text-decoration: underline;
}

.read-more-btn:hover {
    opacity: 0.8;
}

.read-more-btn::after {
    content: "\2197";
    margin-left: 0.5rem;
}

.read-more-btn:hover::after {
    margin-left: 1rem;
    transition: var(--transition);
}

/* Why Me Section */
.why-me-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.why-me-intro p {
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 300;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature {
    text-align: center;
    padding: 1.5rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid transparent;
}

.feature h3{
    color: var(--primary-color);
}

.feature p{
    color: var(--text-color);
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: inline-block;
    opacity: 0.85;
    transition: var(--transition);
    background-color: rgba(188, 0, 205, 0.08);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
}

.feature:hover {
    transform: translateY(-5px);
    border-bottom: 2px solid var(--primary-color);
}

.feature:hover i {
    transform: scale(1.1);
    opacity: 1;
    background-color: rgba(188, 0, 205, 0.12);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.5rem;
    margin: 1.5rem auto 0;
    max-width: 900px;
}

.process-step {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid transparent;
}
.process-step h3{
    color: var(--primary-color);
}
.process-step:hover {
    transform: translateY(-5px);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.process-step::before, .service-card::before, .audience-item:before, .feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    transition: height 0.3s ease;
    z-index: 0;
}

.process-step::before {
    background-color: rgba(188, 0, 205, 0);
}


.audience-item:before {
    background-color: rgba(17, 205, 0, 0);
}

.process-step:hover::before, .service-card:hover::before, .audience-item:hover:before, .feature:hover::before {
    height: 100%;
}

.process-step h3, .process-step p, .process-step .step-icon,
.service-card h3, .service-card p, .service-card ul, .service-card .price, .service-card .price1, .service-card .cta-button,
.audience-item h3, .audience-item p, .audience-item i,
.feature h3, .feature p, .feature i {
    position: relative;
    z-index: 1;
}

.step-icon {
    margin: 1.5rem auto 1.2rem;
}

.step-icon i {
    font-size: 2.4rem;
    color: var(--primary-color);
    opacity: 0.85;
    transition: var(--transition);
    background-color: rgba(188, 0, 205, 0.08);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    display: inline-block;
}

.process-step:hover .step-icon i {
    transform: scale(1.1);
    opacity: 1;
}

/* Services Section */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card::before {
    background-color: rgba(188, 0, 205, 0.03);
}

.service-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid transparent;
    border: 2px solid transparent;
    transform: translateY(-5px);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.service-card.middle::before {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 2px 8px var(--shadow-color);
    border-bottom: 2px solid transparent;
}

.service-card:hover {
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px var(--shadow-color);  
}

.service-card.middle:hover {
    border-bottom: 2px solid #fff;
    transform: translateY(-5px);
    box-shadow: 0 2px 8px var(--shadow-color);  
}

.service-card.middle {
    background-color: var(--primary-color);
    color: #fff;
    -webkit-transform: translateY(-8px) scale(1.02);
    -moz-transform: translateY(-8px) scale(1.02);
    -ms-transform: translateY(-8px) scale(1.02);
    -o-transform: translateY(-8px) scale(1.02);
    transform: translateY(-8px) scale(1.02);
    z-index: 1;
}

.service-card.middle .cta-button {
    background-color: #fff;
    color: var(--primary-color);    
;
}

.service-card.middle .cta-button:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
   
}

.service-card ul {
    margin: 1.5rem 0;
    text-align: left;
}

.service-card li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li:before {
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.service-card.featured li:before {
    color: #fff;
}

.service-card,.service-card.middle::before,.service-card.featured li:before,.service-card.middle .cta-button:hover,.service-card.middle .cta-button,.service-card.middle {
    transition: all 0.4s ease;
    cursor: pointer;   
}
    

/* Portfolio Section */
.portfolio {
    background-color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(188, 0, 205, 0.5));
    color: #ffffff;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Case Studies Section */
.case-studies {
    background-color: var(--section-bg);
    padding: 3rem 0;
}

.case-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.case-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
    border: var(--card-border);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-video-preview {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.case-video-preview video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.case-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.case-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    color: white;
}

.case-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-bottom: 2px solid var(--primary-color);
    border-radius: 5px;
    color: white;
}

/* Who It's For Section */
.who-its-for {
    background-color: var(--light-bg);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.audience-item h3{
    color: #bc00cd;
}

.audience-item {
    text-align: center;
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: var(--transition);
    background-color: var(--card-bg);
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid transparent;
}

.audience-item i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: inline-block;
    opacity: 0.85;
    transition: var(--transition);
    background-color: rgba(188, 0, 205, 0.08);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
}

.audience-item:hover {
    transform: translateY(-5px);
    border-bottom: 2px solid var(--secondary-color);
}

.audience-item:hover i {
    transform: scale(1.1);
    opacity: 1;
    background-color: rgba(188, 0, 205, 0.12);
}

.audience-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(17, 205, 0, 0);
    transition: height 0.3s ease;
    z-index: 0;
}

.audience-item:hover:before {
    height: 100%;
}

.audience-item i, .audience-item h3, .audience-item p {
    position: relative;
    z-index: 1;
}

.clean-form-group label {
    font-size: 0.9rem;
    color: var(--text-color);
    display: block;
    margin-bottom: 0.3rem;
    opacity: 0.9;
}

/* FAQ Section */
.faq {
    background-color: #fff;
    padding: 3rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 1rem 1.5rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-color);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(188, 0, 205, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-toggle i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-answer p {
    margin: 0;
    padding: 0.5rem 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.faq-item.active .faq-question {
    background-color: rgba(188, 0, 205, 0.03);
}

.faq-item.active .faq-toggle {
    background-color: rgba(188, 0, 205, 0.2);
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}
