/* ==========================================================================
   THALMAN ENGINEERING - PREMIUM ABOUT PAGE STYLES
   ========================================================================== */

:root {
    /* Color Palette */
    --primary-color: #123A9C;
    --secondary-color: #0B1D4F;
    --accent-color: #6DE7DD;
    --glow-color: rgba(109, 231, 221, 0.5);
    --text-main: #111827;
    --text-muted: #4B5563;
    --bg-dark: #FFFFFF;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(18, 58, 156, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-accent: 'Inter', -apple-system, sans-serif;
}

/* ==========================================================================
   GLOBAL LAYOUT & UTILITIES
   ========================================================================== */

#about {
    background-color: #FFFFFF;
    position: relative;
}


.section-pad {
    padding: 60px 0;
    position: relative;
    z-index: 5;
}

#about .text-center { text-align: center; }

#about h1, #about h2, #about h3, #about h4, #about h5, #about h6 {
    font-family: var(--font-heading);
    margin-top: 0;
    color: var(--text-main);
}

#about .section-tag {
    display: inline-block;
    color: var(--accent-color);
    font-family: var(--font-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

#about .section-heading {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

#about .cyan-divider {
    height: 4px;
    width: 80px;
    background: var(--accent-color);
    border-radius: 2px;
    margin: 20px 0 40px;
    box-shadow: 0 0 15px var(--glow-color);
}
#about .cyan-divider.center { margin: 20px auto 40px; }

/* Buttons */
#about .about-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-family: var(--font-accent);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
#about .about-btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}
#about .about-btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 207, 255, 0.6);
}
#about .about-btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}
#about .about-btn-outline:hover {
    background: rgba(0, 207, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 207, 255, 0.3);
}

/* ==========================================================================
   BACKGROUND EFFECTS
   ========================================================================== */
#particles-js {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

.blueprint-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 207, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 207, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    pointer-events: none;
}

/* ==========================================================================
   NAVBAR (Dark Theme Adjustments)
   ========================================================================== */




/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
#about .about-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    z-index: 5;
    background: radial-gradient(circle at right center, rgba(11, 39, 72, 0.8) 0%, var(--bg-dark) 70%);
}

#about .about-hero-container {
    display: grid;
    grid-template-columns: 0.8fr 1.6fr;
    gap: 30px;
    align-items: flex-start;
}

#about .about-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #FFFFFF, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#about .about-hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    max-width: 100%;
    line-height: 1.8;
    text-align: justify;
}

#about .about-hero-desc:last-of-type {
    margin-bottom: 35px;
}

#about .about-hero-buttons { display: flex; gap: 20px; }

#about .about-hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
}

#about .about-hero-image-wrapper img {
    width: 100%;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.glow-effect {
    position: absolute;
    width: 300px; height: 300px;
    background: var(--accent-color);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* ==========================================================================
   SECTION 2: SUBSIDIARY & WHO WE ARE
   ========================================================================== */
#about .subsidiary-container {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.split-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    gap: 50px;
    align-items: center;
}
.split-layout.reverse { grid-template-columns: 1.4fr 0.8fr; }

#about .image-glass-frame {
    padding: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
}

#about .image-glass-frame img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4/5;
}

#about .glass-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

#about .compact-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

/* ==========================================================================
   SECTION 3: COMPANY PROFILE CARDS
   ========================================================================== */
#about .profile-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

#about .premium-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#about .premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(0, 207, 255, 0.3);
}

#about .card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

#about .premium-card h3 { font-size: 2rem; margin-bottom: 10px; }
#about .premium-card .card-subtitle { color: var(--accent-color); margin-bottom: 20px; font-weight: 500; }
#about .premium-card p { color: var(--text-muted); line-height: 1.7; }

#about .card-glow {
    position: absolute;
    bottom: -50px; right: -50px;
    width: 150px; height: 150px;
    background: var(--accent-color);
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.4s ease;
}
#about .premium-card:hover #about .card-glow { opacity: 0.15; }

/* ==========================================================================
   SECTION 4: MISSION VISION VALUES
   ========================================================================== */
#about .mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#about .mvv-card {
    background: linear-gradient(145deg, rgba(11, 39, 72, 0.6), rgba(8, 20, 32, 0.8));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
}

#about .mvv-icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    background: rgba(0, 207, 255, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--accent-color);
}

#about .mvv-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
#about .mvv-card p { color: var(--text-muted); line-height: 1.6; }
#about .values-list { list-style: none; padding: 0; margin: 0; text-align: left; }
#about .values-list li { color: var(--text-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
#about .values-list i { color: var(--accent-color); }

/* ==========================================================================
   SECTION 5: STATISTICS
   ========================================================================== */
#about .stats-section {
    background: url('../images/stats-bg.jpg') center/cover fixed; /* Optional bg */
    position: relative;
}
#about .stats-section::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(7, 26, 53, 0.9);
}

#about .stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

#about .stat-item h2 {
    font-size: 4rem;
    color: var(--accent-color);
    display: inline-block;
    margin-bottom: 10px;
}
#about .stat-item span {
    font-size: 3rem;
    color: var(--accent-color);
    font-weight: 700;
}
#about .stat-item p {
    font-size: 1.1rem;
    font-family: var(--font-accent);
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   SECTION 6: TIMELINE
   ========================================================================== */
#about .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
}

#about .timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 15px;
    height: 100%; width: 2px;
    background: rgba(0, 207, 255, 0.2);
}

#about .timeline-item {
    position: relative;
    margin-bottom: 50px;
}

#about .timeline-dot {
    position: absolute;
    left: -42px; top: 5px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

#about .timeline-content h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}
#about .timeline-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SECTION 7: WHY CHOOSE US
   ========================================================================== */
#about .illustration-3d { position: relative; }
#about .illustration-3d img { width: 100%; height: auto; position: relative; z-index: 2; }
#about .glow-behind {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(0,207,255,0.2) 0%, transparent 70%);
    z-index: 1;
}

#about .feature-list {
    margin-top: 30px;
    display: grid; gap: 20px;
}

#about .feature-item {
    background: var(--glass-bg);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

#about .feature-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
}
#about .feature-item p { margin: 0; font-weight: 500; font-size: 1.1rem; }

/* ==========================================================================
   SECTION 8: ENGINEERING EXPERTISE
   ========================================================================== */
#about .expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#about .expertise-card {
    background: rgba(11, 39, 72, 0.3);
    border: 1px solid rgba(0, 207, 255, 0.1);
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
}

#about .expertise-card:hover {
    background: rgba(11, 39, 72, 0.8);
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 207, 255, 0.15);
}

#about .expertise-card .icon-wrap {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}
#about .expertise-card:hover .icon-wrap { transform: rotateY(180deg); }

#about .expertise-card h4 { font-size: 1.2rem; margin: 0; }

/* ==========================================================================
   SECTION 9: CEO MESSAGE
   ========================================================================== */
#about .ceo-message-section { display: flex; justify-content: center; }

#about .ceo-card {
    background: linear-gradient(135deg, rgba(11, 39, 72, 0.8), rgba(8, 20, 32, 0.9));
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 20px;
    max-width: 900px;
    text-align: center;
    position: relative;
}

#about .quote-mark {
    position: absolute;
    top: -20px; left: 40px;
    font-size: 8rem;
    font-family: serif;
    color: rgba(0, 207, 255, 0.15);
    line-height: 1;
}

#about .ceo-quote {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

#about .ceo-author h5 { font-size: 1.2rem; color: var(--accent-color); margin-bottom: 5px; }
#about .ceo-author span { color: var(--text-muted); font-size: 0.9rem; }

/* ==========================================================================
   SECTION 10: CTA & FOOTER
   ========================================================================== */
#about .cta-banner {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

#about .cta-banner h2 { font-size: 2.5rem; margin-bottom: 30px; }
#about .cta-buttons { display: flex; justify-content: center; gap: 20px; }

#about .footer-premium {
    background: #040d1a;
    padding-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 991px) {
    #about .about-hero-container, .split-layout, .split-layout.reverse { grid-template-columns: 1fr; }
    #about .about-hero-title { font-size: 3rem; }
    #about .profile-cards-grid, #about .mvv-grid, #about .expertise-grid { grid-template-columns: 1fr; }
    #about .stats-grid { grid-template-columns: repeat(2, 1fr); }
    #about .cta-buttons { flex-direction: column; }
}
@media (max-width: 768px) {
    #about .stats-grid { grid-template-columns: 1fr; }
    #about .section-heading { font-size: 2.2rem; }
    #about .ceo-quote { font-size: 1.3rem; }
    #about .ceo-card { padding: 40px 20px; }
}


/* Fix for vertical stacking */
#about .about-hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
#about .stats-section {
    background-color: var(--primary-blue-dark);
    padding: 60px 0;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

#about .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

#about .stat-item {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-base);
    border: 1px solid transparent;
}

#about .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-cyan);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.2);
}

#about .stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

#about .stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 991px) {
    #about .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    #about .stats-grid { grid-template-columns: 1fr; }
}
