/* approach.css - Styles specific to the Our Approach page */

/* ----- Hero Section ----- */
.approach-hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--space-16) 0 var(--space-12);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.neural-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(85, 85, 155, 0.1) 1px, transparent 1px),
                     linear-gradient(to bottom, rgba(85, 85, 155, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-title {
    font-size: var(--text-5xl);
    line-height: 1.1;
    margin-bottom: var(--space-4);
    background: linear-gradient(to right, var(--text-white), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-light);
    margin-bottom: var(--space-6);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ----- General Section Styles ----- */
.section {
    position: relative;
    padding: var(--space-12) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-8);
}

.section-title {
    margin-bottom: var(--space-3);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width var(--transition-base);
}

.section-title:hover::after {
    width: 100px;
}

.section-description {
    color: var(--text-light);
    font-size: var(--text-lg);
    max-width: 700px;
    margin: 0 auto;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(98, 0, 238, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
}

.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.section:nth-child(even) {
    background-color: var(--surface);
}

/* ----- Philosophy Section ----- */
.philosophy-section {
    position: relative;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.philosophy-card {
    display: flex;
    gap: var(--space-4);
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    transition: all var(--transition-base);
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary);
}

.philosophy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(98, 0, 238, 0.1);
    border-radius: 50%;
    color: var(--secondary);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.philosophy-card:hover .philosophy-icon {
    background-color: var(--primary);
    color: var(--text-white);
    transform: rotate(10deg);
}

.philosophy-content {
    flex: 1;
}

.philosophy-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
    color: var(--text-white);
}

.philosophy-description {
    color: var(--text-light);
    font-size: var(--text-base);
    margin-bottom: 0;
}

/* ----- Methodology Section ----- */
.methodology-section {
    position: relative;
}

.methodology-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-8) 0;
}

.methodology-circular {
    position: relative;
    width: 600px;
    height: 600px;
}

.circular-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background-color: rgba(98, 0, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all var(--transition-base);
}

.circular-core:hover {
    background-color: rgba(98, 0, 238, 0.2);
    transform: translate(-50%, -50%) scale(1.05);
}

.circular-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.center-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.center-text {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}

.circular-phases {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(98, 0, 238, 0.3);
}

.circular-phase {
    position: absolute;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.circular-phase:hover {
    transform: scale(1.1);
}

.phase-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: 50%;
    text-align: center;
    transition: all var(--transition-base);
}

.circular-phase:hover .phase-content {
    background-color: rgba(98, 0, 238, 0.1);
    border-color: var(--secondary);
}

.phase-number {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-1);
    line-height: 1;
}

.phase-title {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}

.phase-1 {
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.phase-2 {
    top: 30%;
    right: 40px;
    transform: translateY(-50%);
}

.phase-3 {
    bottom: 30%;
    right: 40px;
    transform: translateY(50%);
}

.phase-4 {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.phase-5 {
    bottom: 30%;
    left: 40px;
    transform: translateY(50%);
}

/* ----- Process Section ----- */
.process-section {
    position: relative;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-phase {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-10);
    position: relative;
}

.process-phase:last-child {
    margin-bottom: 0;
}

.phase-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phase-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-2);
    transition: all var(--transition-base);
    z-index: 2;
}

.process-phase:hover .phase-number {
    background-color: var(--secondary);
    transform: scale(1.1);
}

.phase-line {
    width: 2px;
    flex-grow: 1;
    background: linear-gradient(to bottom, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.5;
}

.process-phase:last-child .phase-line {
    display: none;
}

.phase-details {
    flex: 1;
}

.phase-name {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    color: var(--text-white);
    transition: all var(--transition-base);
}

.process-phase:hover .phase-name {
    color: var(--secondary);
}

.phase-card {
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    transition: all var(--transition-base);
}

.process-phase:hover .phase-card {
    transform: translateX(10px);
    border-color: var(--secondary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.phase-description {
    color: var(--text-light);
    margin-bottom: var(--space-6);
}

.phase-components {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.component {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.component-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(98, 0, 238, 0.1);
    border-radius: 50%;
    color: var(--secondary);
    margin-bottom: var(--space-3);
    transition: all var(--transition-base);
}

.component:hover .component-icon {
    background-color: var(--primary);
    color: var(--text-white);
    transform: rotate(15deg);
}

.component-title {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
    color: var(--text-white);
}

.component-description {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin: 0;
}

/* ----- Benefits Section ----- */
.benefits-section {
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.benefit-card {
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: rgba(98, 0, 238, 0.1);
    border-radius: 50%;
    color: var(--secondary);
    margin-bottom: var(--space-4);
    transition: all var(--transition-base);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--primary);
    color: var(--text-white);
    transform: rotate(10deg);
}

.benefit-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    color: var(--text-white);
}

.benefit-description {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-bottom: 0;
}

/* ----- Testimonial Section ----- */
.testimonial-section {
    position: relative;
    padding: var(--space-16) 0;
}

.testimonial-content {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    position: relative;
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.quote-icon {
    position: absolute;
    top: var(--space-4);
    left: var(--space-6);
    color: var(--secondary);
}

.testimonial-quote {
    position: relative;
    z-index: 1;
    margin: 0 0 var(--space-6) 0;
    padding-top: var(--space-6);
}

.testimonial-quote p {
    font-size: var(--text-xl);
    line-height: 1.6;
    color: var(--text-light);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--secondary);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--space-1);
}

.author-position {
    font-size: var(--text-sm);
    color: var(--secondary);
}

/* ----- CTA Section ----- */
.cta-section {
    position: relative;
    padding: var(--space-16) 0;
    overflow: hidden;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(98, 0, 238, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
    color: var(--text-white);
}

.cta-description {
    font-size: var(--text-xl);
    color: var(--text-light);
    margin-bottom: var(--space-6);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ----- Animations ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    opacity: 0.5;
}

/* ----- Responsive Styles ----- */
@media (max-width: 1200px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .phase-components {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .methodology-circular {
        width: 500px;
        height: 500px;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .cta-title {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 992px) {
    .phase-components {
        grid-template-columns: 1fr;
    }

    .process-phase {
        flex-direction: column;
        gap: var(--space-4);
        align-items: center;
        text-align: center;
    }

    .phase-indicator {
        margin-bottom: var(--space-4);
    }

    .phase-line {
        display: none;
    }

    .methodology-circular {
        width: 400px;
        height: 400px;
    }

    .circular-phase {
        width: 100px;
        height: 100px;
    }

    .circular-core {
        width: 120px;
        height: 120px;
    }

    .testimonial-quote p {
        font-size: var(--text-lg);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .methodology-circular {
        width: 300px;
        height: 300px;
    }

    .circular-phase {
        width: 80px;
        height: 80px;
    }

    .circular-core {
        width: 100px;
        height: 100px;
    }

    .center-icon {
        width: 40px;
        height: 40px;
    }

    .phase-number {
        font-size: var(--text-lg);
    }

    .phase-title {
        font-size: var(--text-xs);
    }

    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-subtitle {
        font-size: var(--text-lg);
    }

    .cta-title {
        font-size: var(--text-2xl);
    }

    .cta-description {
        font-size: var(--text-base);
    }

    .testimonial-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .methodology-circular {
        width: 250px;
        height: 250px;
    }

    .circular-phase {
        width: 60px;
        height: 60px;
    }

    .circular-core {
        width: 70px;
        height: 70px;
    }

    .phase-number {
        font-size: var(--text-base);
    }

    .phase-title {
        font-size: var(--text-xs);
    }

    .center-icon {
        width: 30px;
        height: 30px;
    }

    .center-text {
        font-size: var(--text-xs);
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .section-description {
        font-size: var(--text-base);
    }
}