/* ==========================================================================
   1. GLOBAL ARCHITECTURE, RESETS & MICROSOFT CORE COLORS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif; 
    font-size: 13px; /* Premium corporate text weight */
    background: #f3f2f1; /* Core Microsoft Slate/Light Neutral Gray background */
    color: #242424;    /* Fluent Primary Dark Text */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2. FONTS & FLUENT MOTION ANIMATIONS
   ========================================================================== */
@font-face {
    font-family: 'Ethnocentric Rg';
    src: url('https://fonts.cdnfonts.com/s/16620/Ethnocentric Rg%20rg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}

@keyframes flagWave {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(-1.5deg) scale(1.02); }
    100% { transform: rotate(0deg); }
}

/* ==========================================================================
   3. ABOUT HERO SECTION (Premium Layered Canvas)
   ========================================================================== */
.about-hero {
    width: 100%;
    padding: 60px 6% 45px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

/* Atmospheric Ambient Glows */
.about-hero::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(0, 103, 184, 0.12); /* Microsoft Accent Blue Light */
    border-radius: 50%;
    top: -150px;
    right: -100px;
    filter: blur(90px);
    opacity: 0.8;
    z-index: 1;
}

.about-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(40, 153, 245, 0.08);
    border-radius: 50%;
    bottom: -100px;
    left: -80px;
    filter: blur(90px);
    opacity: 0.6;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #edf2f7;
    color: #0067b8; /* Microsoft Primary Blue */
    border-radius: 4px; /* Crisp corporate standard border radius */
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
    border: 1px solid #d2d0ce;
}

.hero-badge i {
    font-size: 13px;
    animation: float 3.5s ease-in-out infinite;
}

.about-hero h1 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #0067b8;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

/* Trademark Branded Asset Element */
.lucprosoft-title {
    font-family: 'Ethnocentric Rg', sans-serif !important;
    font-size: 24px;
    color: #242424;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    z-index: 2;
}

.lucprosoft-title span {
    color: #005a9e; /* Darker Fluent Blue */
}

.tm {
    position: absolute;
    top: -4px;
    right: -20px;
    width: 15px;
    height: 15px;
    border: 1.2px solid #242424;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6px;
    font-weight: 700;
    color: #242424;
    background: #ffffff;
    font-family: 'Segoe UI', sans-serif;
}

.about-hero p {
    max-width: 720px;
    margin: auto;
    color: #605e5c; /* Microsoft Gray neutral text */
    line-height: 1.6;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   4. COMPANY ABOUT GRID (Fluent Interface Card Style)
   ========================================================================== */
.company-about {
    width: 100%;
    padding: 50px 6%;
    background: #ffffff;
}

.company-grid {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Micro-scaled company-image box */
.company-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-image img {
    width: 100%;
    max-width: 480px; /* Locked constraint for clean fit */
    height: 280px;    /* Reduced height for crisp aspect balance */
    object-fit: contain; /* Kept clean padding presentation */
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    padding: 16px;
    box-shadow: 0 1.6px 3.6px rgba(0,0,0,0.132), 0 0.3px 0.9px rgba(0,0,0,0.108);
    transition: box-shadow 0.3s ease;
}

.company-image img:hover {
    box-shadow: 0 6.4px 14.4px rgba(0,0,0,0.132), 0 1.2px 3.6px rgba(0,0,0,0.108);
}

.small-title {
    font-family: 'Ethnocentric Rg', sans-serif !important;
    color: #0067b8;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.company-content h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #242424;
    line-height: 1.3;
    margin-bottom: 16px;
}

.company-content p {
    color: #605e5c;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 14px;
}

/* ==========================================================================
   5. STATS SECTION (High-Density Metrics Board)
   ========================================================================== */
.stats-section {
    width: 100%;
    padding: 0 6% 50px;
    background: #ffffff;
}

.stats-grid {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: #faf9f8;
    border: 1px solid #f3f2f1;
    border-radius: 6px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: #0067b8;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: #0067b8; /* Flat premium blue accent fill */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 16px;
}

.stat-icon i {
    color: #ffffff;
    font-size: 18px;
}

.stat-card h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #242424;
    margin-bottom: 6px;
}

.stat-card p {
    color: #605e5c;
    font-size: 13px;
    font-weight: 500;
}

/* ==========================================================================
   6. UNIVERSAL TITLES & SHARE MANAGEMENT
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title span {
    font-family: 'Segoe UI', sans-serif;
    color: #0067b8;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 12px;
}

.section-title h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #242424;
}

.share-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.share-section p {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    color: #242424;
    font-size: 14px;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #605e5c;
    font-size: 18px;
    transition: all 0.2s ease;
}

.social-links a:hover {
    color: #0067b8;
    transform: translateY(-2px);
}

/* ==========================================================================
   7. CEO EXECUTIVE CONTROL WINDOW (Overlapping Fixed System)
   ========================================================================== */
.ceo-section {
    width: 100%;
    padding: 60px 7%;
    background: #faf9f8;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.ceo-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

/* Relative Wrapper box standard tracking */
.ceo-image {
    position: relative;
    display: inline-flex;
    justify-content: center;
    width: 100%;
    max-width: 440px; /* Constrains boundaries */
    margin: 0 auto;
}

.ceo-image img:first-child {
    width: 100%;
    height: 380px; 
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6.4px 14.4px rgba(0,0,0,0.132), 0 1.2px 3.6px rgba(0,0,0,0.108);
    border: 1px solid #e0e0e0;
    display: block;
}

/* Logo Box Fix: Corrected anchor alignment parameters to avoid overflow layout breakage */
.logo-box {
    position: absolute;
    bottom: -15px;
    right: -15px; /* Aligns to absolute boundary edge cleanly */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    width: 70px;  
    height: 70px; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3.2px 7.2px rgba(0,0,0,0.132), 0 0.6px 1.8px rgba(0,0,0,0.108);
    z-index: 10; /* Guarantees layout rendering stack layers priority */
}

.logo-box img {
    width: 100%;
    height: 100%;
    max-width: 52px;  
    max-height: 52px; 
    object-fit: contain;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.ceo-content h1 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 32px;
    line-height: 1.25;
    color: #242424;
    margin-bottom: 20px;
    font-weight: 600;
}

.ceo-heading-lucprosoft {
    font-family: 'Ethnocentric Rg', sans-serif !important;
    font-size: 22px;
    letter-spacing: 0.5px;
    color: #0067b8;
    position: relative;
    display: inline-block;
    margin-left: 6px;
}

.ceo-heading-lucprosoft .tm-ceo {
    position: absolute;
    top: -4px;
    right: -16px;
    width: 14px;
    height: 14px;
    border: 1.2px solid #0067b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6px;
    font-weight: 700;
    color: #0067b8;
    background: #ffffff;
    font-family: 'Segoe UI', sans-serif;
}

.ceo-content p {
    color: #605e5c;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.ceo-thanks {
    color: #0067b8 !important;
    font-weight: 600;
}

.ceo-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-top: 24px;
    padding-left: 12px;
    border-left: 3px solid #0067b8;
}

.ceo-name .name {
    font-family: 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #242424;
    line-height: 1.2;
}

.ceo-name small {
    font-size: 13px;
    font-weight: 500;
    color: #605e5c;
    margin-top: 4px;
}

.pakistan-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    color: #242424;
    font-size: 14px;
    font-weight: 600;
    flex-wrap: wrap;
}

.pak-flag {
    width: 26px;
    height: 16px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    animation: flagWave 2.5s ease-in-out infinite;
    transform-origin: left center;
    border: 1px solid rgba(0,0,0,0.05);
}

.pak-flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ==========================================================================
   8. GOOGLE REVIEWS SLIDER CANVAS
   ========================================================================== */
.reviews-section {
    width: 100%;
    padding: 30px 6% 50px;
    background: #ffffff;
    overflow: hidden;
}

.reviews-slider {
    position: relative;
    max-width: 850px;
    margin: auto;
    height: 240px;
}

.review-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #faf9f8;
    border-radius: 6px;
    padding: 30px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 3.2px 7.2px rgba(0,0,0,0.06), 0 0.6px 1.8px rgba(0,0,0,0.04);
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.review-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.review-top img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #d2d0ce;
}

.review-top h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #242424;
    margin-bottom: 2px;
}

.review-top span {
    color: #605e5c;
    font-size: 12px;
}

.review-info {
    flex: 1;
}

.google-logo {
    width: 22px !important;
    height: 22px !important;
}

.review-stars {
    color: #ffb900; 
    margin-bottom: 12px;
    font-size: 13px;
}

.review-card p {
    color: #242424;
    line-height: 1.6;
    font-size: 14px;
}

.review-like {
    margin-top: 16px;
    color: #a80000; 
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   9. CERTIFICATES DISPLAY HUB
   ========================================================================== */
.certificates {
    width: 100%;
    padding: 30px 6% 70px;
    background: #ffffff;
}

.certificates-grid {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.certificate-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1.6px 3.6px rgba(0,0,0,0.05);
}

.certificate-box:hover {
    transform: translateY(-4px);
    border-color: #0067b8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.certificate-box img {
    width: 52px;  
    height: 52px; 
    object-fit: contain;
    margin: auto auto 16px;
}

.certificate-box h3 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #242424;
    margin-bottom: 8px;
}

.certificate-box p {
    font-size: 13px;
    line-height: 1.5;
    color: #605e5c;
}

/* ==========================================================================
   10. SOCIAL VIDEO HUB SECTION (System App Stream Player)
   ========================================================================== */
.social-video-section {
    padding: 70px 6%;
    background: #f3f2f1;
    border-top: 1px solid #e0e0e0;
}

.social-video-section .container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
}

.social-side h3 {
    font-family: 'Ethnocentric Rg', sans-serif !important;
    font-size: 22px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: #242424;
}

.social-side p {
    color: #605e5c;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links-list a {
    text-decoration: none;
    color: #242424;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #d2d0ce;
    border-radius: 4px;
    width: fit-content;
    min-width: 220px;
    transition: all 0.15s ease;
}

.social-links-list a:hover {
    color: #ffffff;
    background: #0067b8;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 103, 184, 0.2);
}

/* Fluid Responsive Embedded Player Container Frame */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 6.4px 14.4px rgba(0,0,0,0.132), 0 1.2px 3.6px rgba(0,0,0,0.108);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   11. RESPONSIVE MEDIA STEPPING ENGINE
   ========================================================================== */
@media(max-width: 1200px) {
    .stats-grid, .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 992px) {
    .company-grid, .ceo-container, .social-video-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-hero h1 { font-size: 24px; }
    .lucprosoft-title { font-size: 20px; }
    .ceo-content h1 { font-size: 26px; }
    .company-content h2, .section-title h2 { font-size: 26px; }
    
    .ceo-image {
        max-width: 100%;
    }
    .logo-box {
        right: 15px; /* Adjusts beautifully for full-width viewports */
    }
}

@media(max-width: 768px) {
    .about-hero { padding: 50px 4% 35px; }
    .company-about, .ceo-section, .social-video-section, .certificates { padding: 45px 4%; }
    
    .stats-grid, .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .company-image img {
        height: auto;
        max-height: 240px;
    }
    
    .ceo-image img:first-child {
        height: auto;
        max-height: 340px;
    }
    
    .logo-box {
        width: 80px;
        height: 80px;
        bottom: -10px;
        right: -10px;
    }
    .logo-box img { max-width: 44px; max-height: 44px; }
    
    .reviews-slider { height: 290px; }
    .review-card { padding: 20px; }
}

@media(max-width: 480px) {
    .reviews-slider { height: 340px; }
    .social-links-list a { width: 100%; }
}
