/* About Page Styles */

/*
    Theme Presets
    To change the hero background quickly, edit the :root variables below or
    uncomment one of the preset classes and add it to the <body> element.
*/

:root {
    --hero-grad-start: #0f172a;
    /* deep navy */
    --hero-grad-end: #1f2937;
    /* slate */
    --hero-overlay: rgba(255, 255, 255, 0.03);
}

/* Example presets - uncomment and add the class to <body> to apply */
.theme-light {
    --hero-grad-start: #eef2ff;
    /* light periwinkle */
    --hero-grad-end: #e6fffa;
    /* mint */
    --hero-overlay: rgba(0, 0, 0, 0.02);
}

.theme-warm {
    --hero-grad-start: #fef3c7;
    /* warm cream */
    --hero-grad-end: #fee2b3;
    /* soft gold */
    --hero-overlay: rgba(0, 0, 0, 0.03);
}

.theme-cool {
    --hero-grad-start: #0ea5e9;
    /* sky blue */
    --hero-grad-end: #0369a1;
    /* deep teal */
    --hero-overlay: rgba(255, 255, 255, 0.04);
}


/* Hero Section */
.about-hero {
    /* customizable hero gradient - change these CSS variables at the top of this file to try other themes */
    --hero-grad-start: #0f172a;
    /* deep navy */
    --hero-grad-end: #1f2937;
    /* slate */
    --hero-overlay: rgba(255, 255, 255, 0.03);

    background: linear-gradient(135deg, var(--hero-grad-start) 0%, var(--hero-grad-end) 100%);
    padding: 120px 0 80px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: background 0.35s ease;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--hero-overlay) 25%, transparent 25%, transparent 75%, var(--hero-overlay) 75%),
        linear-gradient(45deg, var(--hero-overlay) 25%, transparent 25%, transparent 75%, var(--hero-overlay) 75%);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    pointer-events: none;
    opacity: 0.9;
    animation: float 30s ease-in-out infinite;
}

.about-hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #f8f9fa;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metric {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Mission & Vision Section */
.mission-vision {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.mission-card,
.vision-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: 0.5s;
}

.mission-card:hover::before,
.vision-card:hover::before {
    left: 100%;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.mission-card h2,
.vision-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.mission-card p,
.vision-card p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.mission-points,
.vision-points {
    list-style: none;
    padding: 0;
}

.mission-points li,
.vision-points li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #495057;
}

.mission-points i,
.vision-points i {
    color: #667eea;
    margin-right: 1rem;
    font-size: 1.1rem;
}

/* Company Story Section */
.company-story {
    padding: 80px 0;
    background: white;
}

.story-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
}

.story-intro {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}



.timeline-content {
    flex: 1;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 4rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: white;
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #6c757d;
    line-height: 1.6;
}

/* Core Values Section */
.core-values {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: 0.5s;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.value-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Team Leadership Section */
.team-leadership {
    padding: 80px 0;
    background: white;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.leader-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.leader-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.leader-card:hover .leader-image img {
    transform: scale(1.05);
}

.social-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.leader-card:hover .social-overlay {
    opacity: 1;
}

.social-overlay a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-overlay a:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.leader-info {
    padding: 2rem;
}

.leader-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.leader-title {
    font-size: 1rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-bio {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.leader-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.leader-expertise span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Achievements Section */
.achievements {
    padding: 80px 0;
    background: #f8f9fa;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1) rotate(5deg);
}

.achievement-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.achievement-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Technology Focus Section */
.technology-focus {
    padding: 80px 0;
    background: white;
}

.tech-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: center;
}

.tech-category:nth-child(even) {
    direction: rtl;
}

.tech-category:nth-child(even) .tech-content {
    direction: ltr;
}

.tech-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tech-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.tech-content p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tech-content ul {
    list-style: none;
    padding: 0;
}

.tech-content li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #495057;
}

.tech-content li::before {
    content: '✓';
    color: #667eea;
    font-weight: bold;
    margin-right: 1rem;
    width: 20px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    opacity: 0.8;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-item .timeline-content {
        text-align: left !important;
        margin-left: 4rem;
        margin-right: 0;
    }

    .timeline-marker {
        left: 20px !important;
        transform: translateX(-50%);
    }

    .timeline-content::before {
        left: -30px !important;
        border-right-color: white !important;
        border-left-color: transparent !important;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .tech-category {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-category:nth-child(even) {
        direction: ltr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 100px 0 60px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .mission-card,
    .vision-card {
        padding: 2rem 1.5rem;
    }

    .timeline-content {
        margin-left: 3rem;
        padding: 1.5rem;
    }

    .value-card,
    .achievement-card {
        padding: 2rem 1.5rem;
    }

    .leader-info {
        padding: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}