/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 24px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.pexels.com/photos/60504/security-protection-anti-virus-software-60504.jpeg?auto=compress&cs=tinysrgb&w=1920&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.logo {
    width: 48px;
    height: 48px;
    filter: brightness(0) invert(1);
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.pexels.com/photos/1181354/pexels-photo-1181354.jpeg?auto=compress&cs=tinysrgb&w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.last-updated {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

/* Content Sections */
.content-section {
    padding: 64px 0;
    position: relative;
}

.content-section.alt-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.content-section.alt-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.pexels.com/photos/590020/pexels-photo-590020.jpeg?auto=compress&cs=tinysrgb&w=1920&h=800&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.02;
    z-index: 0;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.content-block h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 12px;
}

.content-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 2px;
}

.content-block h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    margin-top: 32px;
    line-height: 1.2;
    position: relative;
    padding-left: 20px;
}

.content-block h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    border-radius: 2px;
}

.content-block p {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
}

.content-block ul {
    margin-bottom: 24px;
    padding-left: 0;
    list-style: none;
}

.content-block li {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 12px;
    line-height: 1.6;
    padding-left: 32px;
    position: relative;
}

.content-block li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0d9488;
    font-weight: bold;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-block strong {
    color: #1e293b;
    font-weight: 600;
}

/* Expertise Grid (About Page) */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.expertise-item {
    background: white;
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.expertise-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.expertise-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: #1e40af;
}

.expertise-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 0;
    color: #1e293b;
}

.expertise-item h3::before {
    display: none;
}

.expertise-item p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Approach List (About Page) */
.approach-list {
    list-style: none;
    padding: 0;
    margin-top: 24px;
}

.approach-list li {
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.125rem;
    line-height: 1.6;
    position: relative;
    padding-left: 0;
}

.approach-list li::before {
    display: none;
}

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

.approach-list li:hover {
    background: rgba(30, 64, 175, 0.02);
    border-radius: 8px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0 -16px;
    transition: all 0.3s ease;
}

/* Values Grid (About Page) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.value-item {
    background: white;
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
}

.value-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.value-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    margin-top: 0;
}

.value-item h3::before {
    display: none;
}

.value-item p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Contact Details */
.contact-details {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin-top: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.pexels.com/photos/1181354/pexels-photo-1181354.jpeg?auto=compress&cs=tinysrgb&w=800&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
}

.contact-details p {
    margin-bottom: 16px;
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details strong {
    color: #1e40af;
}

/* Enhanced Visual Elements */
.content-section:nth-child(even) .content-block {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.content-section:nth-child(odd) .content-block {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.pexels.com/photos/60504/security-protection-anti-virus-software-60504.jpeg?auto=compress&cs=tinysrgb&w=1920&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.footer-brand-name {
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #60a5fa;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 60%;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin-bottom: 4px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .page-title {
        font-size: 2.25rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .content-block {
        padding: 32px 24px;
        margin: 0 16px;
    }
    
    .content-block h2 {
        font-size: 1.75rem;
    }
    
    .content-block h3 {
        font-size: 1.25rem;
    }
    
    .content-block p,
    .content-block li {
        font-size: 1rem;
    }
    
    .expertise-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .contact-details {
        padding: 24px;
        margin: 0 16px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 1.875rem;
    }
    
    .content-block {
        padding: 24px 20px;
        margin: 0 8px;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
    }
    
    .content-section {
        padding: 48px 0;
    }
    
    .page-hero {
        padding: 60px 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .expertise-item,
    .value-item {
        padding: 24px 20px;
    }
    
    .contact-details {
        padding: 20px;
        margin: 0;
    }
    
    .last-updated {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Animation and Interaction Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-block {
    animation: fadeInUp 0.6s ease forwards;
}

.content-block:nth-child(even) {
    animation-delay: 0.1s;
}

.expertise-item,
.value-item {
    animation: fadeInUp 0.6s ease forwards;
}

.expertise-item:nth-child(2) {
    animation-delay: 0.1s;
}

.expertise-item:nth-child(3) {
    animation-delay: 0.2s;
}

.value-item:nth-child(2) {
    animation-delay: 0.1s;
}

.value-item:nth-child(3) {
    animation-delay: 0.2s;
}

.value-item:nth-child(4) {
    animation-delay: 0.3s;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .content-block {
        background: #ffffff;
        border: 2px solid #000000;
    }
    
    .content-block h2::after,
    .content-block h3::before {
        background: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .content-block,
    .expertise-item,
    .value-item,
    .footer-links a,
    .expertise-item:hover,
    .value-item:hover,
    .approach-list li:hover {
        animation: none;
        transition: none;
    }
}