/**
 * Modern About Section Styles
 * Enhanced design with interactive elements, animations, and professional layout
 */

/* ===== ABOUT SECTION BASE STYLES ===== */
.modern-about-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f8f9ff 100%);
    overflow: hidden;
}

.modern-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><linearGradient id="a" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="%23ff6b35" stop-opacity="0.05"/><stop offset="100%" stop-color="%23ff6b35" stop-opacity="0.1"/></linearGradient></defs><polygon fill="url(%23a)" points="0,20 100,0 100,20"/></svg>') repeat-x;
    background-size: 200px 40px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 200px 0; }
}

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

/* ===== ABOUT HEADER ===== */
.about-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    animation: floating 3s ease-in-out infinite;
}

.about-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.about-badge i {
    font-size: 16px;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.about-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-gradient-text {
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ff6b35);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.about-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 40px;
}

/* ===== ABOUT CONTENT LAYOUT ===== */
.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

/* ===== ABOUT TEXT CONTENT ===== */
.about-text-content {
    padding-right: 20px;
}

.about-company-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-company-subtitle {
    font-size: 1.25rem;
    color: #ff6b35;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-company-subtitle::before {
    content: '';
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 32px;
}

.about-features-list {
    margin-bottom: 40px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.about-feature-item:hover {
    padding-left: 8px;
    background: rgba(255, 107, 53, 0.03);
    border-radius: 8px;
    border-bottom-color: #ff6b35;
}

.about-feature-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    flex-shrink: 0;
}

.about-feature-text {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

/* ===== ABOUT STATS ===== */
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.about-stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.15);
    border-color: #ff6b35;
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff6b35;
    display: block;
    margin-bottom: 8px;
    counter-reset: number;
}

.about-stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== ABOUT ACTION BUTTONS ===== */
.about-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.about-main-btn,
.about-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.about-main-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.about-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    color: white;
}

.about-secondary-btn {
    background: transparent;
    color: #ff6b35;
    border-color: #ff6b35;
}

.about-secondary-btn:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.about-main-btn::before,
.about-secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.about-main-btn:hover::before,
.about-secondary-btn:hover::before {
    left: 100%;
}

/* ===== ABOUT IMAGE GALLERY ===== */
.about-image-gallery {
    position: relative;
    padding-left: 20px;
}

.about-main-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

.about-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-main-image-container:hover .about-main-image {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(247, 147, 30, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-main-image-container:hover .about-image-overlay {
    opacity: 1;
}

.about-gallery-thumbnails {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-thumbnail-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 140px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-thumbnail-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.about-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-thumbnail-container:hover .about-thumbnail {
    transform: scale(1.1);
}

/* ===== ABOUT DECORATIVE ELEMENTS ===== */
.about-decorative-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.about-decorative-element:nth-child(1) {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.about-decorative-element:nth-child(2) {
    bottom: 20%;
    left: 5%;
    width: 60px;
    height: 60px;
    animation-delay: 2s;
}

.about-decorative-element:nth-child(3) {
    top: 60%;
    right: 20%;
    width: 40px;
    height: 40px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== EXPERIENCE BADGE ===== */
.about-experience-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: white;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

.about-experience-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ff6b35;
    line-height: 1;
}

.about-experience-text {
    font-size: 0.7rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(255, 107, 53, 0.7); }
    50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 20px rgba(255, 107, 53, 0); }
}

/* ===== ABOUT ACHIEVEMENTS ===== */
.about-achievements {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 60px;
    border: 2px solid #f8f9ff;
}

.about-achievements-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

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

.about-achievement-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-achievement-item:hover {
    background: rgba(255, 107, 53, 0.05);
    border-color: #ff6b35;
    transform: translateY(-5px);
}

.about-achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.about-achievement-item:hover .about-achievement-icon {
    transform: rotateY(180deg);
}

.about-achievement-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.about-achievement-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .about-content-wrapper {
        gap: 60px;
    }
    
    .about-text-content {
        padding-right: 10px;
    }
    
    .about-image-gallery {
        padding-left: 10px;
    }
}

@media (max-width: 992px) {
    .modern-about-section {
        padding: 80px 0;
    }
    
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-text-content,
    .about-image-gallery {
        padding: 0;
    }
    
    .about-header {
        margin-bottom: 60px;
    }
    
    .about-main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .about-company-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .modern-about-section {
        padding: 60px 0;
    }
    
    .about-actions {
        justify-content: center;
        text-align: center;
    }
    
    .about-main-btn,
    .about-secondary-btn {
        flex: 1;
        justify-content: center;
        min-width: 160px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-achievements {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .about-achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-experience-badge {
        width: 100px;
        height: 100px;
        top: 20px;
        right: 20px;
    }
    
    .about-experience-number {
        font-size: 1.5rem;
    }
    
    .about-experience-text {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .about-header {
        margin-bottom: 40px;
    }
    
    .about-main-title {
        font-size: 2rem;
    }
    
    .about-company-title {
        font-size: 1.5rem;
    }
    
    .about-gallery-thumbnails {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-thumbnail-container {
        height: 180px;
    }
    
    .about-main-image-container {
        height: 250px;
    }
    
    .about-main-image {
        height: 250px;
    }
    
    .about-actions {
        flex-direction: column;
    }
    
    .about-main-btn,
    .about-secondary-btn {
        width: 100%;
    }
}

/* ===== LOADING STATES ===== */
.about-loading {
    opacity: 0.7;
    pointer-events: none;
}

.about-loaded {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.about-scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.about-scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HOVER EFFECTS FOR INTERACTIVE ELEMENTS ===== */
.about-interactive-element {
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-interactive-element:hover {
    transform: scale(1.02);
}

/* ===== TOOLTIP STYLES ===== */
.about-tooltip {
    position: relative;
    display: inline-block;
}

.about-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.about-tooltip:hover::after {
    opacity: 1;
}

/* ===== PRINT STYLES ===== */
@media print {
    .modern-about-section {
        background: white !important;
        box-shadow: none !important;
    }
    
    .about-decorative-element,
    .about-experience-badge {
        display: none !important;
    }
    
    .about-main-btn,
    .about-secondary-btn {
        border: 2px solid #333 !important;
        background: white !important;
        color: #333 !important;
    }
}
