/* About Page Specific Styles */

.header {
    background: url('/content/aboutcover.jpg') center/cover no-repeat;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

.header-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.header-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.divider {
    position: relative;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: 2px;
    margin: 40px auto;
    width: 120px;
    overflow: hidden;
    clear: both;
}

.divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--glass-shadow);
}

.overview-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    z-index: -1;
}

.overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.overview-card .icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.overview-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.overview-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.overview-card li {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.overview-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.overview-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--glass-shadow);
}

.expertise-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    z-index: -1;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.expertise-card .icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.expertise-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--glass-shadow);
}

.team-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    z-index: -1;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.team-card img {
    width: 100%;
    max-width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid var(--primary);
    transition: transform 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.team-card .role {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.team-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--glass-shadow);
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    z-index: 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    opacity: 1;
    position: relative;
}

.timeline-content {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 20px;
    width: 40%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.timeline-content .icon {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg);
    z-index: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-item:nth-child(even) .icon {
    right: -55px;
    left: auto;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-item:nth-child(odd) .icon {
    left: -55px;
    right: auto;
    transform: translateY(-50%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--glass-shadow);
}

.review-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    z-index: -1;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.review-card .quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.2;
    z-index: 0;
}

.review-card img {
    width: 100%;
    max-width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid var(--primary);
    position: relative;
    z-index: 1;
}

.review-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.review-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.review-card .company {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: normal;
    display: block;
}

.rating {
    color: #ffc107;
    margin: 10px 0;
    font-size: 1.2rem;
}

.cta-section {
    text-align: center;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    margin: 40px 0;
}

.cta-section .section-title {
    margin-bottom: 30px;
}

.cta-button {
    background-color: var(--primary);
    color: var(--bg-light);
    padding: 14px 28px;
    text-decoration: none !important;
    border-radius: 24px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
    transform: rotate(30deg);
    transition: all 0.5s;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-button:hover::before {
    transform: rotate(30deg) translate(50%, 50%);
}

.overview, .expertise, .team, .timeline-section, .reviews {
    padding: 40px 0;
}

#footer-placeholder {
    margin-top: 40px;
}

@media (max-width: 1280px) {
    .overview-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .expertise-grid, .team-grid, .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        height: 350px;
    }
    .header-content h1 {
        font-size: 2.4rem;
    }
    .header-content p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .overview, .expertise, .team, .timeline-section, .reviews {
        padding: 32px 0;
    }
    #footer-placeholder {
        margin-top: 32px;
    }
    .overview-card h3, .expertise-card h3 {
        font-size: 1.4rem;
    }
    .team-card img {
        max-width: 120px;
        height: 120px;
    }
    .timeline::before {
        left: 20px;
        transform: translateX(0);
        width: 4px;
    }
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .timeline-content {
        width: 80%;
        text-align: left;
        margin-left: 40px;
    }
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
    }
    .timeline-item:nth-child(even) .icon,
    .timeline-item:nth-child(odd) .icon {
        left: -50px;
        right: auto;
        top: 10px;
        transform: none;
    }
    .timeline-marker {
        margin: 16px 0 16px 16px;
        left: auto;
        transform: none;
    }
    .review-card img {
        max-width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .header {
        height: 300px;
    }
    .header-content {
        padding: 20px;
    }
    .header-content h1 {
        font-size: 2rem;
    }
    .header-content p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .overview-card h3, .expertise-card h3 {
        font-size: 1.3rem;
    }
    .overview-card p, .expertise-card p, .team-card p, .timeline-content p, .review-card p {
        font-size: 0.9rem;
    }
    .team-card h3, .timeline-content h3 {
        font-size: 1.2rem;
    }
    .review-card h3 {
        font-size: 1rem;
    }
    .team-card img {
        max-width: 100px;
        height: 100px;
    }
    .overview, .expertise, .team, .timeline-section, .reviews {
        padding: 24px 0;
    }
    #footer-placeholder {
        margin-top: 24px;
    }
}
