/* ===================================
   Pages CSS - About & Privacy Pages
   Fekra AI Solutions
   =================================== */

/* Page Header */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff, #00ff88, #00d4ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* ===================================
   About Page Styles
   =================================== */

.about-section {
    padding: 60px 0 100px;
    position: relative;
    z-index: 1;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text {
    max-width: 100%;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
}

.section-title .highlight {
    color: #00d4ff;
}

.text-center {
    text-align: center;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.highlight-text {
    color: #00ff88;
    font-weight: 700;
}

.link-highlight {
    color: #00d4ff;
    text-decoration: none;
    border-bottom: 1px dashed #00d4ff;
    transition: all 0.3s ease;
}

.link-highlight:hover {
    color: #00ff88;
    border-color: #00ff88;
}

/* Visual Card */
.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.visual-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-icon svg {
    width: 40px;
    height: 40px;
    color: #0a0a1a;
}

.visual-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 10px;
}

.visual-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Why Fekra Section */
.about-why {
    margin-bottom: 80px;
}

.about-why .about-paragraph {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.15);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
    background: linear-gradient(135deg, #00d4ff, #00ff88);
}

.solution-icon svg {
    width: 35px;
    height: 35px;
    color: #00d4ff;
    transition: color 0.3s ease;
}

.solution-card:hover .solution-icon svg {
    color: #0a0a1a;
}

.solution-card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
}

.solution-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Mission Section */
.about-mission {
    margin-bottom: 80px;
}

.mission-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 136, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.mission-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.mission-icon svg {
    width: 50px;
    height: 50px;
    color: #0a0a1a;
}

.mission-card h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mission-card p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Values Section */
.about-values {
    margin-bottom: 80px;
}

.about-values .section-title {
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 20px 50px rgba(0, 255, 136, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 35px;
    height: 35px;
    color: #00ff88;
}

.value-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.value-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Ambition Section */
.about-ambition {
    margin-bottom: 80px;
    padding: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ambition-content .section-title {
    margin-bottom: 20px;
}

.ambition-content .about-paragraph {
    margin-bottom: 0;
    font-size: 1.2rem;
}

/* Stats Section */
.about-stats {
    margin-bottom: 80px;
}

.about-stats .section-title {
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.about-cta {
    text-align: center;
}

.cta-content {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 255, 136, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 30px;
    padding: 60px 40px;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* ===================================
   Privacy Page Styles
   =================================== */

.privacy-section {
    padding: 60px 0 100px;
    position: relative;
    z-index: 1;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.privacy-block:hover {
    border-color: rgba(0, 212, 255, 0.2);
}

.privacy-block h2 {
    font-size: 1.6rem;
    color: #00d4ff;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-block h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 25px 0 15px;
}

.privacy-block p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.privacy-block ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.privacy-block li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.privacy-block li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #00ff88;
    font-weight: bold;
}

.privacy-block strong {
    color: #fff;
}

/* Contact Block in Privacy */
.contact-block {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 136, 0.05));
    border-color: rgba(0, 212, 255, 0.3);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 212, 255, 0.1);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: #00d4ff;
    flex-shrink: 0;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* ===================================
   Responsive Styles
   =================================== */

@media (max-width: 992px) {
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: -1;
    }
    
    .mission-card {
        padding: 40px 30px;
    }
    
    .about-ambition {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 140px 0 60px;
    }
    
    .about-section,
    .privacy-section {
        padding: 40px 0 80px;
    }
    
    .solutions-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .privacy-block {
        padding: 30px 20px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 120px 0 50px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 30px 15px;
    }
    
    .visual-card {
        padding: 30px 20px;
    }
    
    .mission-card {
        padding: 30px 20px;
    }
    
    .about-ambition {
        padding: 30px 20px;
    }
}

/* Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}
