/* ============================================
   EMMARK INDUSTRIES - About Page Styles
   ============================================ */

/* ============================================
   Inner Banner Section
   ============================================ */
.inner-banner {
    position: relative;
    height: 45vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.4) 0%, rgba(30, 95, 138, 0.4) 100%);
}

.banner-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    padding-top: 60px;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Company Profile Section
   ============================================ */
.company-profile-section {
    background: var(--white);
    padding: 6rem 0;
}

.profile-content .section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.profile-content .section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.profile-content .lead {
    color: var(--text-dark);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.profile-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.highlight-boxes {
    margin-top: 2rem;
}

.highlight-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
}

.highlight-box:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight-box:hover i {
    color: var(--accent-color);
}

.highlight-box:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.highlight-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: block;
    transition: var(--transition);
}

.highlight-box h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.highlight-box p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

.profile-image-wrapper {
    position: relative;
}

.profile-image-wrapper .main-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    bottom: 342px;
    left: -30px;
    background: var(--accent-color);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.floating-card .card-inner {
    text-align: center;
}

.floating-card .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1;
}

.floating-card .label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    opacity: 0.9;
}

/* ============================================
   Counters Section
   ============================================ */
.counters-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
}

.counters-wrapper {
    padding: 0;
}

.counter-item {
    color: var(--white);
    padding: 2rem 1rem;
}

.counter-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.counter-icon i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.counter-item:hover .counter-icon {
    background: var(--accent-color);
    transform: scale(1.1);
}

.counter-item:hover .counter-icon i {
    color: var(--text-dark);
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    line-height: 1;
}

.counter-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.counter-label {
    font-size: 1rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* ============================================
   Founder Section
   ============================================ */
.founder-section {
    background: var(--bg-section);
    padding: 6rem 0;
}

.founder-image-wrapper {
    position: relative;
}

.founder-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.founder-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid var(--accent-color);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

.founder-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.founder-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.founder-badge i {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.founder-content .section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.founder-content .section-title {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.founder-message {
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-color);
    margin-bottom: 2rem;
}

.message-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 1rem;
    text-align: justify;
}

.message-text:last-child {
    margin-bottom: 0;
}

.founder-info {
    margin-top: 2rem;
}

.founder-signature {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.founder-designation {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.founder-company {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ============================================
   Vision & Mission Section
   ============================================ */
.vision-mission-section {
    background: var(--white);
    padding: 5rem 0;
}

.vm-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
}

.vision-card::before {
    background: var(--primary-color);
}

.mission-card::before {
    background: var(--accent-color);
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mission-card .vm-icon {
    background: linear-gradient(135deg, var(--accent-color), #e38c3a);
}

.vm-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.vm-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vm-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ============================================
   Team Section
   ============================================ */
.team-section {
    background: var(--bg-section);
    padding: 6rem 0;
}

.team-section .section-header {
    margin-bottom: 3rem;
}

.team-section .section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.team-section .section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-section .section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.team-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 59, 102, 0.95) 0%, rgba(13, 59, 102, 0.7) 50%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    color: var(--white);
}

.team-overlay h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
    color: var(--accent-color);
}

/* ============================================
   Animations
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1199px) {
    .banner-title {
        font-size: 3rem;
    }
    
    .profile-content .section-title,
    .founder-content .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991px) {
    .inner-banner {
        height: 40vh;
        min-height: 300px;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .company-profile-section,
    .founder-section,
    .team-section {
        padding: 4rem 0;
    }
    
    .floating-card {
        bottom: -20px;
        left: -10px;
        padding: 1rem 1.5rem;
    }
    
    .floating-card .number {
        font-size: 2.5rem;
    }
    
    .founder-badge {
        width: 60px;
        height: 60px;
        top: -15px;
        right: -15px;
    }
    
    .founder-badge i {
        font-size: 2rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .team-image {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .inner-banner {
        height: 35vh;
        min-height: 250px;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-content {
        padding-top: 50px;
    }
    
    .profile-content .section-title,
    .founder-content .section-title,
    .team-section .section-title {
        font-size: 1.8rem;
    }
    
    .floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1.5rem;
        display: inline-block;
    }
    
    .profile-image-wrapper {
        text-align: center;
    }
    
    .founder-image-wrapper {
        margin-bottom: 2rem;
    }
    
    .founder-badge {
        top: auto;
        right: auto;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .founder-signature {
        font-size: 2rem;
    }
    
    .vm-card {
        padding: 2rem;
    }
    
    .counter-icon {
        width: 60px;
        height: 60px;
    }
    
    .counter-icon i {
        font-size: 1.5rem;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .counter-suffix {
        font-size: 1.5rem;
    }
    
    .team-image {
        height: 280px;
    }
}

@media (max-width: 575px) {
    .banner-title {
        font-size: 1.75rem;
    }
    
    .highlight-box {
        padding: 1rem;
    }
    
    .highlight-box i {
        font-size: 1.5rem;
    }
    
    .highlight-box h4 {
        font-size: 1rem;
    }
    
    .founder-message {
        padding-left: 1rem;
    }
    
    .message-text {
        font-size: 0.95rem;
    }
    
    .vm-icon {
        width: 60px;
        height: 60px;
    }
    
    .vm-icon i {
        font-size: 1.5rem;
    }
}