/* ===================================
   ABOUT PAGE - PREMIUM RESPONSIVE DESIGN
   =================================== */

:root {
    --brand: #1B0E54;
    --brand-dark: #0f0835;
    --brand-light: #2d1a78;
    --brand-accent: #00C2FF;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    --gradient-brand: linear-gradient(135deg, #1B0E54 0%, #0f0835 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(27, 14, 84, 0.95) 0%, rgba(15, 8, 53, 0.95) 100%);
    --gradient-accent: linear-gradient(135deg, #00C2FF 0%, #0099cc 100%);
}

/* ===================================
   GLOBAL STYLES
   =================================== */

.about-page {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HERO SECTION (Services Style)
   =================================== */

.services-hero {
    background: var(--brand-gradient);
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 194, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 194, 255, 0.1) 0%, transparent 50%);
    opacity: 0.8;
}

.services-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.services-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.services-hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: #ff0000;
}

.services-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 0;
    color: #d9c9c9;
}

/* ===================================
   OLD HERO SECTION (Backup)
   =================================== */

.about-hero {
    position: relative;
    background: var(--gradient-brand);
    padding: 100px 0;
    color: white;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.2);
    letter-spacing: 8px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.8;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Compact Stats */
.stats-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    padding: 24px 50px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

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

.stat-number {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
    color: white;
    letter-spacing: -1px;
}

.stat-number sup {
    font-size: 0.5em;
    font-weight: 900;
    top: -0.8em;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.85;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.25);
}

/* ===================================
   CONTENT SECTIONS
   =================================== */

.content-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-brand);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px !important;
    font-weight: 900 !important;
    color: white !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
}

.about-heading {
    font-size: 38px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   STORY SECTION
   =================================== */

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 24px 28px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
}

.story-badge-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-content h3 {
    font-size: 38px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.story-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.story-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.story-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.story-feature i {
    color: var(--brand);
    font-size: 24px;
    flex-shrink: 0;
}

/* ===================================
   VALUES SECTION
   =================================== */

.values-section {
    background: var(--gradient-brand) !important;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0,194,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

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

/* Light versions for section header */
.section-badge-light {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.section-title-light {
    color: white;
}

.section-description-light {
    color: rgba(255,255,255,0.9);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.value-card {
    background: white;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.value-card-premium {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.5);
}

.value-card:hover,
.value-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border-color: white;
    background: white;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-brand);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 8px 25px rgba(27, 14, 84, 0.3);
    transition: all 0.4s ease;
}

.value-card-premium:hover .value-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 35px rgba(27, 14, 84, 0.4);
}

.value-icon i {
    font-size: 38px;
    color: white;
}

.value-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.value-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-dark);
    margin: 0;
    text-align: justify;
}

.value-text p strong {
    color: var(--brand);
    font-weight: 700;
}

.value-card > p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}

.value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.value-list li:last-child {
    border-bottom: none;
}

.value-list i {
    color: var(--brand);
    font-size: 18px;
    flex-shrink: 0;
}

/* ===================================
   TIMELINE SECTION
   =================================== */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--brand), var(--brand-dark));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.timeline-year {
    text-align: right;
    padding-right: 20px;
}

.timeline-year h4 {
    font-size: 32px;
    font-weight: 900;
    color: var(--brand);
    margin: 0;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid var(--brand);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(27, 14, 84, 0.1);
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h5 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* ===================================
   FEATURES GRID
   =================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(27, 14, 84, 0.1), rgba(27, 14, 84, 0.2));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-brand);
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 32px;
    color: var(--brand);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    background: var(--gradient-brand);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.1) 0%, transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #d9d9d9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: white;
    color: var(--brand);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    color: var(--brand-dark);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--brand);
    transform: translateY(-3px);
}

/* ===================================
   RESPONSIVE DESIGN - TABLET
   =================================== */

@media (max-width: 991px) {
    .services-hero {
        padding: 100px 0 60px;
    }
    
    .services-hero h1 {
        font-size: 2.75rem;
    }
    
    .services-hero p {
        font-size: 1.125rem;
    }
    
    .about-hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 48px;
        letter-spacing: 6px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .stats-compact {
        gap: 30px;
        padding: 20px 40px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-badge {
        bottom: 20px;
        left: 20px;
        padding: 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 30px;
    }
    
    .timeline-year {
        grid-column: 2;
        text-align: left;
        padding: 0;
        order: 2;
    }
    
    .timeline-dot {
        grid-row: 1;
        grid-column: 1;
    }
    
    .timeline-content {
        grid-column: 2;
        grid-row: 1;
    }
    
    .timeline-item:hover .timeline-content {
        transform: translateX(5px);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .about-heading {
        font-size: 28px;
    }
    
    .content-section {
        padding: 70px 0;
    }
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE
   =================================== */

@media (max-width: 767px) {
    .services-hero {
        padding: 80px 0 60px;
    }
    
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-hero p {
        font-size: 1.125rem;
    }
    
    .about-hero {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .stats-compact {
        flex-direction: column;
        gap: 20px;
        padding: 24px 32px;
        border-radius: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .content-section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-heading {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .story-content h3 {
        font-size: 28px;
    }
    
    .story-content p {
        font-size: 15px;
    }
    
    .story-badge {
        position: static;
        margin-top: 20px;
        display: inline-flex;
    }
    
    .value-card {
        padding: 35px 25px;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
    }
    
    .value-icon i {
        font-size: 32px;
    }
    
    .value-card h3 {
        font-size: 24px;
    }
    
    .timeline::before {
        left: 12px;
    }
    
    .timeline-item {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .timeline-year h4 {
        font-size: 24px;
    }
    
    .timeline-content {
        padding: 24px;
    }
    
    .timeline-content h5 {
        font-size: 18px;
    }
    
    .timeline-content p {
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-content h2 br {
        display: none;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        justify-content: center;
        padding: 16px 32px;
        font-size: 15px;
    }
}

/* ===================================
   RESPONSIVE DESIGN - SMALL MOBILE
   =================================== */

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .about-hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
        letter-spacing: 3px;
    }
    
    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .stats-compact {
        padding: 20px 24px;
        gap: 16px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .about-heading {
        font-size: 28px;
    }
    
    .story-content h3 {
        font-size: 24px;
    }
    
    .cta-content h2 {
        font-size: 26px;
    }
}

/* ===================================
   ANIMATION ENHANCEMENTS
   =================================== */

@media (prefers-reduced-motion: no-preference) {
    .stat-card,
    .value-card,
    .feature-card,
    .timeline-content {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .story-image img {
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    .about-hero {
        background: white;
        color: var(--text-dark);
    }
    
    .cta-section {
        display: none;
    }
    
    .stat-card,
    .value-card,
    .feature-card,
    .timeline-content {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}
