/* ========================================
   NSL - About Page Styles
   Naila Sourcing (BD) Ltd.
   ======================================== */

/* CSS Variables */
:root {
    --primary: #0A8F5C;
    --primary-dark: #087a4a;
    --primary-light: #0cb872;
    --secondary: #1a1a1a;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-off-white: #fafafa;
    --border: #e5e5e5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo-sub {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ========================================
   Page Header
   ======================================== */

.page-header {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A8F5C 0%, #087a4a 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1558171813-4c088753af8f?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.15;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 143, 92, 0.9) 0%, rgba(8, 122, 74, 0.95) 100%);
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.header-content h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(30px);
}

.header-content h1 .highlight {
    color: #b8f4c9;
}

.header-content p {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(30px);
}

/* ========================================
   Section Styles
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

/* ========================================
   Overview Section
   ======================================== */

.overview-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.overview-image {
    position: relative;
}

.overview-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--primary);
    padding: 25px 35px;
    border-radius: 16px;
    color: #ffffff;
    box-shadow: var(--shadow-hover);
}

.badge-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 14px;
    opacity: 0.9;
}

.overview-content .section-tag {
    text-align: left;
    display: block;
}

.overview-content h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 24px;
    text-align: left;
}

.overview-content p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-box {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
    display: block;
}

/* ========================================
   Mission & Vision
   ======================================== */

.mission-vision-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mv-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.mv-icon {
    font-size: 56px;
    margin-bottom: 24px;
}

.mv-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.mv-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Core Values
   ======================================== */

.values-section {
    padding: 120px 0;
    background: var(--bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    background: var(--primary);
}

.value-card:hover .value-number,
.value-card:hover h4,
.value-card:hover p {
    color: #ffffff;
}

.value-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 16px;
}

.value-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   Team Section
   ======================================== */

.team-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.team-role {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 16px;
}

.team-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-white {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid #ffffff;
}

.btn-white:hover {
    background: transparent;
    color: #ffffff;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--secondary);
    padding: 80px 0 30px;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: #ffffff;
}

.footer-brand .logo-sub {
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
    color: #ffffff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.7;
}

.footer-contact strong {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Styles
   ======================================== */

@media (max-width: 1024px) {
    .overview-grid {
        gap: 50px;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .hamburger {
        display: flex;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        left: 20px;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .overview-section,
    .mission-vision-section,
    .values-section,
    .team-section {
        padding: 80px 0;
    }
    
    .overview-image img {
        height: 350px;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-value {
        font-size: 28px;
    }
}