.about-theme {
    --primary-color: #C5A572;
    --secondary-color: #E5C687;
    --text-color: #e8e0d4;
    --background-color: #0a0a0f;
    --accent-color: #A67C00;
    --hieroglyph-color: #8B7355;
}

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.9), rgba(218, 165, 32, 0.8)),
                linear-gradient(to bottom, rgba(20, 17, 15, 0.95), rgba(25, 20, 18, 0.9));
    padding: 120px 0;
    text-align: center;
    color: white;
}

/* Mission Section */
.mission-section {
    padding: 60px 0;
    background: rgba(18, 18, 26, 0.95);
    position: relative;
    z-index: 2;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-text {
    flex: 2;
}

.mission-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.mission-symbol {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 120px;
    position: relative;
}

.mission-symbol .fa-ankh {
    background: linear-gradient(
        45deg,
        #FFD700,
        #FDB931,
        #C5A572,
        #FFD700,
        #FFF380,
        #FFD700,
        #C5A572
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(253, 185, 49, 0.2));
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

.mission-symbol::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 215, 0, 0.15) 0%,
        transparent 50%
    );
    pointer-events: none;
    transform: translate(-25%, -25%);
}

.mission-symbol::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 215, 0, 0.2) 0%,
        rgba(255, 215, 0, 0.1) 25%,
        transparent 50%
    );
    filter: blur(10px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-symbol:hover::after {
    opacity: 1;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: linear-gradient(to bottom,
        rgba(14, 14, 22, 0.95),
        rgba(20, 20, 30, 0.98)
    );
    position: relative;
    overflow: hidden;
    color: #fff;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent,
        var(--primary-color),
        transparent
    );
}

.team-section .section-title {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(197, 165, 114, 0.3);
}

.team-section .section-title::after {
    background: linear-gradient(to right,
        transparent,
        var(--primary-color),
        var(--secondary-color),
        var(--primary-color),
        transparent
    );
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 165, 114, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.team-card h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px;
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
}

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

.member-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 auto 25px;
    max-width: 300px;
}

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

.team-card:hover {
    border-color: rgba(197, 165, 114, 0.3);
    box-shadow: 0 8px 30px rgba(197, 165, 114, 0.1);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.member-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.placeholder-photo {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
}

.magic-glyph {
    display: none;
}

.hieroglyph-border {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: clamp(16px, 3vw, 40px);
    padding: 12px clamp(20px, 4vw, 60px);
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hieroglyph-border-top {
    top: 0;
    border-bottom: 1px solid rgba(197, 165, 114, 0.06);
}

.hieroglyph-border-bottom {
    bottom: 0;
    border-top: 1px solid rgba(197, 165, 114, 0.06);
}

.glyph-accent {
    font-family: 'EgyptianHieroglyphs', 'Noto Sans Egyptian Hieroglyphs', serif;
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    color: rgba(197, 165, 114, 0.08);
    display: inline-block;
    animation: glyphFade 8s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes glyphFade {
    0%, 100% { opacity: 0.08; }
    50% { opacity: 0.18; }
}

.glyph-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glyph-field-item {
    position: absolute;
    font-family: 'EgyptianHieroglyphs', 'Noto Sans Egyptian Hieroglyphs', serif;
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    color: rgba(218, 165, 32, 0.04);
    animation: glyphDrift 10s ease-in-out infinite alternate;
    transition: color 0.6s ease;
}

.glyph-field-item:hover {
    color: rgba(218, 165, 32, 0.2);
}

@keyframes glyphDrift {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-12px) rotate(8deg); }
}

.team-section .social-link {
    color: var(--primary-color);
    background: rgba(197, 165, 114, 0.1);
    border: 1px solid rgba(197, 165, 114, 0.2);
}

.team-section .social-link:hover {
    background: rgba(197, 165, 114, 0.2);
    border-color: rgba(197, 165, 114, 0.4);
    transform: translateY(-3px);
}

/* Values Section */
.values-section {
    padding: 60px 0;
    background: rgba(18, 18, 26, 0.95);
    position: relative;
    z-index: 2;
}

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

.value-card {
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid rgba(197, 165, 114, 0.08);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 165, 114, 0.18);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(218, 165, 32, 0.04);
}

.value-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* Technologies Section */
.technologies-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    background: rgba(12, 12, 18, 0.95);
    z-index: 2;
}

.tech-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.tech-slider {
    display: flex;
}

.tech-slide {
    flex: 0 0 200px;
    height: 100px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feverdream-logo {
    flex: 0 0 250px; /* 25% wider than other slides */
    height: 125px; /* 25% taller than other slides */
}

.feverdream-logo .tech-logo {
    transform: scale(1.25); /* Make the logo 25% bigger */
}

.tech-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.tech-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.feverdream-logo .tech-logo:hover {
    transform: scale(1.35); /* Maintain the 25% size difference on hover */
}

.hieroglyphic-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5c0 0 4.5-5 4.5 0s-9 5-9 0 4.5-5 4.5 0zM15 25c0 0 4.5-5 4.5 0s-9 5-9 0 4.5-5 4.5 0zM45 25c0 0 4.5-5 4.5 0s-9 5-9 0 4.5-5 4.5 0zM30 45c0 0 4.5-5 4.5 0s-9 5-9 0 4.5-5 4.5 0z' fill='%238B7355'/%3E%3C/svg%3E");
    animation: hieroglyphFloat 30s linear infinite;
}

@keyframes hieroglyphFloat {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: rgba(18, 18, 26, 0.95);
    position: relative;
    z-index: 2;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 24px;
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mission-content {
        flex-direction: column;
        text-align: center;
    }

    .mission-symbol {
        order: -1;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}
