/* About Page Styles */

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd93d;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

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

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    color: #ffd93d;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Mission & Vision Section */
.mission-vision {
    background: #f8f9fa;
}

.mission-card,
.vision-card,
.values-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #dc3545, #6366f1);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #6366f1, #dc3545);
}

.values-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ec4899, #8b5cf6);
}

.mission-card:hover,
.vision-card:hover,
.values-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

.mission-card h3,
.vision-card h3,
.values-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.mission-card p,
.vision-card p,
.values-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6366f1;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Section Headers */
.section-badge {
    display: inline-block;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Our Story Section */
.our-story {
    background: white;
}

.story-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.story-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.achievement-list {
    margin-top: 2rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #495057;
}

.achievement-item i {
    color: #28a745;
    font-size: 1.1rem;
}

/* Story Image */
.story-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.story-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.story-image-wrapper:hover .story-image {
    transform: scale(1.03);
}

.story-timeline {
    position: relative;
    padding-left: 2rem;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(45deg, #dc3545, #6366f1);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: white;
    border: 3px solid #6366f1;
    border-radius: 50%;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Team Section */
.team-section {
    background: #f8f9fa;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

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

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

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: #6366f1;
    transform: translateY(-3px);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.team-role {
    color: #6366f1;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-info p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-expertise {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.expertise-tag {
    background: linear-gradient(45deg, #dc3545, #6366f1);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Values Section */
.values-section {
    background: white;
}

.value-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #6366f1;
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 1.8rem;
    color: white;
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.value-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Awards Section */
.awards-section {
    background: #f8f9fa;
}

.award-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.award-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(45deg, #ffd93d, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.award-icon i {
    font-size: 1.5rem;
    color: white;
}

.award-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.award-card p {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

/* CTA Section */
.about-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    text-align: center;
    padding: 5rem 0;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    margin-bottom: 2rem;
}

.cta-actions .btn {
    margin: 0.5rem;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.trust-item i {
    color: #ffd93d;
}

/* Responsive Design */

/* Large Screens and Tablets */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .cta-title {
        font-size: 2.25rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem;
    }
    
    .team-info {
        padding: 1.25rem;
    }
    
    .value-card {
        padding: 1.75rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .about-hero {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .story-timeline {
        margin-top: 2rem;
    }
    
    .team-info {
        padding: 1rem;
    }
    
    .value-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .trust-stats {
        gap: 1.5rem;
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    .about-hero {
        min-height: 70vh;
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .cta-title {
        font-size: 1.875rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 1.5rem;
    }
    
    .story-timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 2.5rem;
    }
    
    .team-image {
        height: 220px;
    }
    
    .team-card {
        margin-bottom: 1.5rem;
        touch-action: manipulation;
    }
    
    .team-card:active {
        transform: scale(0.98);
    }
    
    .value-card,
    .award-card {
        touch-action: manipulation;
    }
    
    .value-card:active,
    .award-card:active {
        transform: scale(0.98);
    }
    
    .trust-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        margin-bottom: 0.75rem;
        touch-action: manipulation;
    }
    
    /* Better touch targets */
    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .about-hero {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.1;
    }
    
    .cta-title {
        font-size: 1.75rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 1.25rem;
    }
    
    .card-icon,
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i,
    .value-icon i {
        font-size: 1.5rem;
    }
    
    .team-image {
        height: 200px;
    }
    
    .team-info {
        padding: 0.75rem;
    }
    
    .value-card {
        padding: 1.25rem 0.75rem;
    }
    
    .award-card {
        padding: 1.5rem 1rem;
    }
    
    .section-spacing {
        padding: 3rem 0;
    }
    
    .story-timeline {
        padding-left: 1rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .floating-badge {
        top: 10px;
        right: 10px;
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 1rem;
    }
    
    .value-card {
        padding: 1rem 0.5rem;
    }
    
    .award-card {
        padding: 1.25rem 0.75rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .hero-badge,
    .section-badge {
        padding: 4px 12px;
        font-size: 0.7rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .team-expertise {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Touch Improvements */
@media (max-width: 768px) {
    .btn:active {
        transform: scale(0.95);
    }
    
    .btn:focus {
        outline: 3px solid rgba(99, 102, 241, 0.5);
        outline-offset: 2px;
    }
    
    .team-card:focus,
    .value-card:focus,
    .award-card:focus {
        outline: 2px solid rgba(99, 102, 241, 0.5);
        outline-offset: 2px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-icon,
    .value-icon,
    .award-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .team-card:hover,
    .value-card:hover,
    .award-card:hover,
    .mission-card:hover,
    .vision-card:hover {
        transform: none;
    }
    
    .floating-badge {
        animation: none;
    }
    
    .team-image img {
        transition: none;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .about-hero {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .section-spacing {
        padding: 2rem 0;
    }
}

/* Print Styles */
@media print {
    .about-hero,
    .about-cta {
        background: white !important;
        color: black !important;
    }
    
    .team-card,
    .value-card,
    .award-card,
    .mission-card,
    .vision-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    .btn {
        background: transparent !important;
        color: black !important;
        border: 1px solid black !important;
    }
    
    .team-overlay,
    .floating-badge {
        display: none;
    }
    
    .trust-stats {
        display: none;
    }
}

/* Team Placeholder */
.team-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #6c757d;
    font-size: 1.2rem;
    font-weight: 600;
}

.team-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.team-placeholder span {
    font-size: 2rem;
    font-weight: 700;
    color: #495057;
}

.team-department {
    color: #6366f1;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

/* Team Summary Card */
.team-summary-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #f8f9fa;
}

.team-summary-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.team-summary-content .lead {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.team-highlights {
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 1.25rem;
    color: white;
}

.highlight-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Team Stats Grid */
.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.stat-description {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Team Departments */
.team-departments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.team-departments h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.department-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.department-item:hover {
    background: linear-gradient(45deg, #dc3545, #6366f1);
    color: white;
    transform: translateY(-3px);
}

.department-item i {
    font-size: 1.25rem;
    color: #6366f1;
    transition: color 0.3s ease;
}

.department-item:hover i {
    color: white;
}

.department-item span {
    font-weight: 500;
    color: #495057;
    transition: color 0.3s ease;
}

.department-item:hover span {
    color: white;
}

/* Responsive Design for Team Summary */
@media (max-width: 992px) {
    .team-summary-card {
        padding: 2rem;
    }
    
    .team-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .departments-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .team-summary-card {
        padding: 1.5rem;
    }
    
    .team-summary-content h3 {
        font-size: 1.75rem;
    }
    
    .team-summary-content .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .highlight-item {
        margin-bottom: 1rem;
    }
    
    .highlight-icon {
        width: 40px;
        height: 40px;
    }
    
    .highlight-icon i {
        font-size: 1rem;
    }
    
    .team-departments {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .department-item {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .team-summary-card {
        padding: 1.25rem;
    }
    
    .team-summary-content h3 {
        font-size: 1.5rem;
    }
    
    .team-summary-content .lead {
        font-size: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .team-placeholder {
        height: 200px;
    }
    
    .team-placeholder i {
        font-size: 2.5rem;
    }
    
    .team-placeholder span {
        font-size: 1.75rem;
    }
}

/* Company Showcase */
.hero-visual {
    position: relative;
    padding: 2rem 0;
}

.company-showcase {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    transition: transform 0.3s ease;
}

.company-showcase:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.showcase-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.company-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.company-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.company-logo i {
    font-size: 2rem;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.card-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.card-content {
    color: #333;
}

.metric-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.metric {
    text-align: center;
    flex: 1;
}

.metric-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.progress-section {
    margin-top: 1.5rem;
}

.progress-item {
    margin-bottom: 1rem;
}

.progress-item span {
    display: block;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease-in-out;
    animation: progressLoad 3s ease-in-out;
}

@keyframes progressLoad {
    0% { width: 0; }
    100% { width: var(--target-width, 100%); }
}

.progress-fill[data-width="98"] {
    --target-width: 98%;
    width: 98%;
}

.progress-fill[data-width="95"] {
    --target-width: 95%;
    width: 95%;
}

/* Achievement Cards */
.achievement-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    animation: float 3s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.achievement-card:nth-child(2) {
    animation-delay: -1s;
}

.achievement-card:nth-child(3) {
    animation-delay: -2s;
}

.achievement-card:nth-child(4) {
    animation-delay: -0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.achievement-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.achievement-icon i {
    font-size: 1.25rem;
    color: white;
}

.achievement-text {
    flex: 1;
}

.achievement-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
}

.achievement-desc {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Floating Icons */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.floating-icon:nth-child(odd) {
    animation-delay: -1.5s;
}

/* Achievement Card Positioning */
.achievement-card:nth-child(1) {
    top: 20%;
    left: -40%;
}

.achievement-card:nth-child(2) {
    top: 60%;
    left: -50%;
}

.achievement-card:nth-child(3) {
    top: 30%;
    right: -40%;
}

.achievement-card:nth-child(4) {
    bottom: 20%;
    right: -50%;
}

/* Floating Icon Positioning */
.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 15%;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 5%;
}

.floating-icon:nth-child(4) {
    bottom: 10%;
    right: 10%;
}

/* Responsive adjustments for company showcase */
@media (max-width: 992px) {
    .company-showcase {
        transform: none;
    }
    
    .company-showcase:hover {
        transform: none;
    }
    
    .achievement-card {
        display: none;
    }
    
    .floating-icon {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-visual {
        padding: 1rem 0;
    }
    
    .company-card {
        padding: 1.5rem;
    }
    
    .metric-row {
        gap: 1rem;
    }
    
    .metric-number {
        font-size: 1.5rem;
    }
}

/* ========================================
   Modern Icon Wrapper for Service Cards
   ======================================== */

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.service-icon-wrapper i {
    font-size: 36px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.service-card-modern:hover .service-icon-wrapper {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.service-card-modern:hover .service-icon-wrapper i {
    transform: scale(1.1);
}

/* Enhanced Service Card Styling */
.service-card-modern {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-card-modern h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.service-card-modern p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-modern .btn-outline-primary {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-width: 2px;
    transition: all 0.3s ease;
}

.service-card-modern .btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #ffffff;
    transform: scale(1.05);
}
