/* About Page Specific Styles */
:root {
    --primary-color: #00c0c0;
    --primary-dark: #009999;
    --primary-light: #33cccc;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --dark-bg: #0f1419;
    --card-bg: rgba(255, 255, 255, 0.02);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --gradient-primary: linear-gradient(135deg, #00c0c0 0%, #009999 100%);
    --gradient-accent: linear-gradient(135deg, #4ecdc4 0%, #00c0c0 100%);
    --gradient-dark: linear-gradient(135deg, #0f1419 0%, #1a1a1a 100%);
    --gradient-hero: linear-gradient(135deg, #0f1419 0%, #1e293b 50%, #0f1419 100%);
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    scroll-behavior: smooth;
    background-color: #f8f9fa;
}

/* Hero Section */
.about-hero-section {
    background: var(--gradient-hero);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(0,192,192,0.3)"/><circle cx="80" cy="40" r="1.5" fill="rgba(0,192,192,0.2)"/><circle cx="40" cy="80" r="1" fill="rgba(0,192,192,0.4)"/></svg>');
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(0,192,192,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,192,192,0.1);
    border: 1px solid rgba(0,192,192,0.3);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    pointer-events: auto;
}

.highlight-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 90%;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    pointer-events: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 15;
    pointer-events: auto;
}

.btn-hero-primary, .btn-hero-outline {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    pointer-events: auto;
    cursor: pointer;
    z-index: 15;
    position: relative;
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,192,192,0.4);
    color: white;
    text-decoration: none;
}

.btn-hero-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-hero-outline:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.hero-visual {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.tech-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
    pointer-events: auto;
}

.tech-item:hover,
.tech-item.active {
    background: rgba(0,192,192,0.1);
    border-color: rgba(0,192,192,0.3);
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.tech-item span {
    font-weight: 600;
    color: white;
    font-size: 0.875rem;
}

/* Section Base Styles */
.story-section,
.services-section,
.values-section {
    padding: 100px 0;
    position: relative;
}

.story-section {
    background: #ffffff;
}

.services-section {
    background: #f8fafc;
}

.values-section {
    background: #ffffff;
}

.cta-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: white;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

/* Story Section */
.story-content {
    padding-right: 2rem;
}

.story-highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,192,192,0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.story-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.story-text {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.story-visual {
    padding-left: 2rem;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(0,192,192,0.3));
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-item.active::before {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #6b7280;
    font-size: 0.975rem;
    line-height: 1.5;
}

/* Services Section */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,192,192,0.05), transparent);
    transition: left 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.service-card:hover::before {
    left: 100%;
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 0 10px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

/* Values Section */
.value-card-modern {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

.value-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.value-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.875rem;
}

.value-icon-modern {
    width: 80px;
    height: 80px;
    background: rgba(0,192,192,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.value-card-modern:hover .value-icon-modern {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.value-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.value-description {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
}

.cta-pattern {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><g fill="none" fill-rule="evenodd"><circle cx="30" cy="30" r="2" fill="rgba(0,192,192,0.3)"/></g></svg>');
}

.cta-card {
    background: white;
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,192,192,0.1);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.cta-content {
    padding-right: 2rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cta-actions {
    text-align: center;
}

.btn-block {
    width: 100%;
    margin-bottom: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 12px;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.cta-contact-item i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.cta-contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.cta-contact-item a:hover {
    text-decoration: underline;
}

/* Team Photo Banner */
.team-photo-banner {
    position: relative;
    width: 100%;
    height: 380px;
    margin-top: -80px;
    margin-bottom: 0;
    z-index: 5;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.team-photo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 8s ease;
}

.team-photo-banner:hover img {
    transform: scale(1.03);
}

.team-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 55px 35px 25px;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.9) 0%, 
        rgba(0,0,0,0.7) 30%, 
        rgba(0,0,0,0.3) 60%, 
        rgba(0,0,0,0) 100%);
    color: white;
}

.team-photo-caption {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}

.team-photo-caption::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.team-photo-subcaption {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.95;
    max-width: 600px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.family-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2;
    letter-spacing: 0.4px;
}

/* About Container */
.about-container {
    background: white;
    border-radius: 0 0 10px 10px;
    padding: 30px 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
}

.about-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 10px 10px 0 0;
}

/* About Sections */
.about-section {
    margin-bottom: 30px;
}

.about-section:last-child {
    margin-bottom: 10px;
}

.about-heading {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-left: 15px;
    position: relative;
    color: #1f2937;
}

.about-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1rem;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
}

/* Values Container */
.values-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.value-card {
    background-color: rgba(248, 249, 250, 0.7);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,192,192,0.08);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,192,192,0.1), transparent);
    transition: left 0.5s ease;
}

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

.value-card:hover::before {
    left: 100%;
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0,192,192,0.12);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 20px rgba(0,192,192,0.18);
    transform: scale(1.05);
}

.value-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
}

.value-text {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Action Button */
.action-btn {
    margin-top: 25px;
}

.action-btn .btn {
    padding: 10px 25px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,192,192,0.25);
}

.action-btn .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,192,192,0.4);
    color: white;
    text-decoration: none;
}

/* About Divider */
.about-divider {
    margin: 25px 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0,0,0,0.03) 20%, 
        rgba(0,0,0,0.08) 50%, 
        rgba(0,0,0,0.03) 80%, 
        transparent);
}

/* About-specific navigation styles to avoid conflicts */
.about-nav-link {
    font-weight: 500;
    color: #1f2937;
    margin: 0 12px;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
}

.about-nav-link:hover, 
.about-nav-link.active {
    color: var(--primary-color);
    text-decoration: none;
}

.about-nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.about-nav-link:hover::after, 
.about-nav-link.active::after {
    width: 100%;
}

/* Ensure footer styles are not overridden */
.modern-footer .footer-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 25px !important;
    height: 2px !important;
    background: var(--primary-color) !important;
    border-radius: 1px !important;
}

.modern-footer .contact-item i {
    width: 16px !important;
    margin-right: 0.5rem !important;
    color: var(--primary-color) !important;
    font-size: 0.9rem !important;
}

/* Responsive Design */
@media (max-width: 991px) {
    .about-hero-section {
        padding: 140px 0 80px;
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn-hero-primary, 
    .btn-hero-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .tech-showcase {
        max-width: 350px;
        gap: 1rem;
    }
    
    .tech-item {
        padding: 1.5rem 0.75rem;
    }
    
    .story-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .story-visual {
        padding-left: 0;
    }
    
    .service-card.featured {
        transform: scale(1);
        margin-top: 0;
    }
    
    .values-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .cta-highlights {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .about-hero-section {
        padding: 120px 0 60px;
        min-height: 40vh;
        text-align: center;
    }
    
    .about-hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .about-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .team-photo-banner {
        height: 280px;
        margin-top: -60px;
        border-radius: 8px 8px 0 0;
    }
    
    .team-photo-overlay {
        padding: 40px 20px 20px;
    }
    
    .team-photo-caption {
        font-size: 1.5rem;
    }
    
    .team-photo-subcaption {
        font-size: 0.9rem;
    }
    
    .family-badge {
        top: 15px;
        right: 15px;
        padding: 5px 12px;
        font-size: 0.8rem;
    }
    
    .about-container {
        padding: 20px 18px;
        border-radius: 0 0 8px 8px;
    }
    
    .about-heading {
        font-size: 1.5rem;
        padding-left: 12px;
    }
    
    .about-text {
        font-size: 0.9rem;
    }
    
    .values-container {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }
    
    .value-card {
        padding: 18px 12px;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .value-title {
        font-size: 1.1rem;
    }
    
    .value-text {
        font-size: 0.8rem;
    }
    
    .action-btn .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .about-divider {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .about-hero-section {
        padding: 100px 0 50px;
    }
    
    .about-hero-title {
        font-size: 2rem;
    }
    
    .team-photo-banner {
        height: 240px;
        margin-top: -50px;
    }
    
    .about-container {
        padding: 15px;
    }
    
    .about-heading {
        font-size: 1.3rem;
    }
    
    .values-container {
        gap: 12px;
    }
    
    .value-card {
        padding: 15px 10px;
    }
}