* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.about-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f6f8fb;
}

.about-page .tronex-public-nav.navbar {
    margin: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Main content */
.about-page .about-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 2.5rem;
}

/* Section Styling */
.about-page section {
    padding: 2.5rem;
    margin-bottom: 1.25rem;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(20, 52, 79, 0.06);
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

/* Mission & Vision Sections */
.mission-section,
.vision-section {
    background: #ffffff;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.text-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.text-content p {
    margin-bottom: 1rem;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.8;
}

.image-placeholder {
    min-height: 280px;
    height: auto;
    aspect-ratio: 4 / 3;
    background: #eef3f8;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #1f4b6e;
    box-shadow: inset 0 0 0 1px #dbe4ef;
}

/* Why Choose Section */
.why-choose-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e7edf5;
    box-shadow: 0 5px 18px rgba(20, 52, 79, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    background: #ffffff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat {
    padding: 1.5rem;
    border-radius: 12px;
    background: #f8fbff;
    border: 1px solid #e3ebf5;
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #1f4b6e;
}

.stat p {
    font-size: 1.1rem;
    color: #516173;
}

/* Team Section */
.team-section {
    background: #ffffff;
    text-align: center;
}

.section-intro {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e7edf5;
    box-shadow: 0 5px 18px rgba(20, 52, 79, 0.05);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: #eef3f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #1f4b6e;
    margin: 0 auto 1rem;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: #1a1a1a;
}

.team-member .title {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member .bio {
    color: #666;
    font-size: 0.95rem;
}

/* Values Section */
.values-section {
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e7edf5;
    border-left: 4px solid #1f4b6e;
}

.value-item h3 {
    color: #1f4b6e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-item p {
    color: #666;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: #ffffff;
    color: #1f2937;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin: 0;
    border: 1px solid #e7edf5;
}

.cta-section h2 {
    color: #1f4b6e;
    text-align: center;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #4b5563;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #1f4b6e;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #1f4b6e;
    border: 2px solid #1f4b6e;
}

.btn-secondary:hover {
    background: #1f4b6e;
    color: white;
}

/* Footer */
.about-page .footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #2563eb;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #2563eb;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    border-radius: 50%;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-page .about-main {
        padding: 1rem 1rem 2rem;
    }

    .about-page section {
        padding: 1.75rem 1.25rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-placeholder {
        min-height: 220px;
        font-size: 4rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Injected main nav — keep all items visible and aligned with other public pages */
.about-page .tronex-public-nav .nav-container {
    flex-wrap: nowrap;
}

@media (max-width: 1100px) {
    .about-page .tronex-public-nav .nav-container {
        flex-wrap: wrap;
    }
}

.tronex-public-nav .nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tronex-public-nav .nav-menu {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
}
