/* About Page Specific Styles */

/* About Hero */
.about-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.about-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    z-index: 0;
}

/* Dark mode support for about hero */
@media (prefers-color-scheme: dark) {
    .about-hero .hero-background {
        filter: brightness(0.85) contrast(1.1);
    }

    .about-hero .hero-overlay {
        background: rgba(26, 26, 26, 0.4) !important;
    }

    .stat-icon svg,
    .stat-icon .icon {
        fill: #D4AF37 !important;
        stroke: #D4AF37 !important;
        color: #D4AF37 !important;
    }
}

[data-theme="dark"] .about-hero .hero-background,
body.dark-mode .about-hero .hero-background {
    filter: brightness(0.85) contrast(1.1);
}

[data-theme="dark"] .about-hero .hero-overlay,
body.dark-mode .about-hero .hero-overlay {
    background: rgba(26, 26, 26, 0.4) !important;
}

[data-theme="dark"] .stat-icon svg,
[data-theme="dark"] .stat-icon .icon,
body.dark-mode .stat-icon svg,
body.dark-mode .stat-icon .icon {
    fill: #D4AF37 !important;
    stroke: #D4AF37 !important;
    color: #D4AF37 !important;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.6);
    z-index: 2;
}

.about-hero .hero-content {
    z-index: 10;
    padding-top: 80px;
}

.about-hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Company Story */
.company-story {
    padding: 100px 0;
    background: white;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-text h2 {
    font-size: 3rem;
    color: var(--deep-black);
    margin-bottom: 30px;
}

.lead {
    font-size: 1.3rem;
    color: var(--primary-gold);
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.6;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--warm-grey);
    margin-bottom: 25px;
    line-height: 1.8;
}

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

.value {
    text-align: center;
    padding: 20px;
    background: var(--light-grey);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.value:hover {
    transform: translateY(-5px);
}

.value h4 {
    color: var(--deep-black);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.value p {
    color: var(--warm-grey);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Statistics */
.statistics {
    background: var(--deep-black);
    padding: 80px 0;
    color: white;
}

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

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-icon svg,
.stat-icon .icon {
    width: 64px !important;
    height: 64px !important;
    fill: #D4AF37 !important;
    stroke: #D4AF37 !important;
    color: #D4AF37 !important;
    display: block;
}

.stat-icon svg use,
.stat-icon .icon use {
    fill: inherit;
    stroke: inherit;
    color: inherit;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

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

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--light-grey);
}

.team-section .section-header h2 {
    color: var(--deep-black) !important;
}

.team-section .section-header p {
    color: var(--warm-grey) !important;
}

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

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 20px;
}

.team-social a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

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

.team-info {
    padding: 30px;
}

.team-info h3 {
    font-size: 1.5rem;
    color: var(--deep-black);
    margin-bottom: 5px;
}

.team-title {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.team-description {
    color: var(--warm-grey);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.team-achievements {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.team-achievements span {
    background: var(--light-grey);
    color: var(--deep-black);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Awards Section */
.awards-section {
    padding: 100px 0;
    background: white;
}

.awards-section .section-header h2 {
    color: var(--deep-black) !important;
}

.awards-section .section-header p {
    color: var(--warm-grey) !important;
}

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

.award-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-grey);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.award-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    color: var(--primary-gold);
    display: flex;
    justify-content: center;
    align-items: center;
}

.award-icon svg,
.award-icon .icon {
    width: 64px !important;
    height: 64px !important;
    fill: #D4AF37 !important;
    stroke: #D4AF37 !important;
    color: #D4AF37 !important;
    display: block;
}

.award-icon svg use,
.award-icon .icon use {
    fill: inherit;
    stroke: inherit;
    color: inherit;
}

.award-card h3 {
    color: var(--deep-black);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.award-card p {
    color: var(--warm-grey);
    font-size: 1rem;
    line-height: 1.6;
}

/* Active Navigation */
.nav-link.active {
    color: var(--primary-gold);
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-text h2 {
        font-size: 2.2rem;
    }

    .company-values {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

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

@media (max-width: 600px) {
    .about-hero h1 {
        font-size: 2.2rem;
    }

    .story-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2rem;
    }

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

    .stat-card {
        padding: 30px 15px;
    }

    .team-info {
        padding: 20px;
    }

    .award-card {
        padding: 30px 20px;
    }
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Counter Animation */
.stat-number {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}