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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a365d;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1a365d 0%, #2b77ad 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #1a365d 0%, #2b77ad 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: 1.5rem;
    color: #2b77ad;
}

h4 {
    font-size: 1.2rem;
    color: #1a365d;
}

p {
    margin-bottom: 16px;
    color: #4a5568;
    line-height: 1.7;
}

ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
    color: #4a5568;
    line-height: 1.6;
}

a {
    color: #2b77ad;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d4af37;
    text-decoration: underline;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #f1c40f 100%);
    color: #1a365d;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b8941f 0%, #e6b800 100%);
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 48px;
    height: 48px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a365d;
    letter-spacing: -0.5px;
}

/* Page Title Section */
.page-title {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(226, 232, 240, 0.9) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(43, 119, 173, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-title h1 {
    color: #1a365d;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.last-updated {
    font-size: 1rem;
    color: #718096;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

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

.content-section.alt-bg {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #2b77ad);
    border-radius: 2px;
}

.section-header h2 {
    color: #1a365d;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Page Specific Styles */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
}

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

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

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.mission-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    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(90deg, #d4af37, #2b77ad);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mission-card:hover::before {
    transform: scaleX(1);
}

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

.mission-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.mission-card h3 {
    color: #1a365d;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 30px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    color: #1a365d;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.team-role {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.value-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #2b77ad);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* CTA Content */
.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.cta-content h2 {
    color: #1a365d;
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 40px;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Policy Content Styles */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.policy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #2b77ad);
}

.policy-section h2 {
    color: #1a365d;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
    font-size: 1.8rem;
}

.policy-section h3 {
    color: #2b77ad;
    margin-bottom: 20px;
    margin-top: 30px;
    font-size: 1.3rem;
}

.policy-section ul {
    margin-bottom: 30px;
}

.policy-section li {
    margin-bottom: 12px;
    padding-left: 10px;
    position: relative;
}

.policy-section li::before {
    content: '•';
    color: #d4af37;
    font-weight: bold;
    position: absolute;
    left: -10px;
}

.contact-info {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(226, 232, 240, 0.9) 100%);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 1rem;
}

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

.contact-info strong {
    color: #1a365d;
}

/* Cookie Table Styles */
.cookie-table {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(226, 232, 240, 0.9) 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.cookie-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.cookie-row:last-child {
    border-bottom: none;
}

.cookie-name {
    font-weight: 600;
    color: #1a365d;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookie-purpose {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-duration {
    color: #718096;
    font-size: 0.9rem;
    text-align: right;
    font-weight: 500;
}

/* Company Story Image */
.company-story-image {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
}

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

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

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a365d 0%, #0f2a44 100%);
    color: #ffffff;
    padding: 80px 0 40px;
    margin-top: 100px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo-container {
    margin-bottom: 20px;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    backdrop-filter: blur(10px);
}

.footer-brand .logo {
    width: 32px;
    height: 32px;
}

.footer-brand .brand-name {
    color: #d4af37;
    font-size: 1.5rem;
}

.footer-brand p {
    color: #a0aec0;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section li {
    margin-bottom: 12px;
    color: #a0aec0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4af37;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(160, 174, 192, 0.2);
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    margin: 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 80px 0;
    }
    
    .page-title {
        padding: 80px 0;
    }
    
    .header {
        padding: 30px 0;
    }
    
    .logo-container {
        padding: 15px 30px;
        gap: 15px;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .brand-name {
        font-size: 1.6rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cookie-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .cookie-duration {
        text-align: left;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .policy-section {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .cta-content {
        padding: 40px 30px;
    }
    
    .content-image,
    .company-story-image {
        height: 250px;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .logo {
        width: 36px;
        height: 36px;
    }
    
    .brand-name {
        font-size: 1.4rem;
    }
    
    .logo-container {
        gap: 12px;
        padding: 12px 20px;
    }
    
    .content-image,
    .company-story-image {
        height: 200px;
    }
    
    .mission-card,
    .team-member,
    .value-item {
        padding: 30px 20px;
    }
    
    .policy-section {
        margin-bottom: 30px;
        padding: 25px 15px;
    }
    
    .contact-info {
        padding: 15px;
    }
    
    .cta-content {
        padding: 30px 20px;
    }
    
    .mission-icon {
        width: 80px;
        height: 80px;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

/* Focus states for accessibility */
.btn-primary:focus,
a:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer {
        background: #fff !important;
        color: #000 !important;
    }
    
    .content-image img,
    .company-story-image img,
    .team-photo img {
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
    
    .policy-section,
    .mission-card,
    .team-member,
    .value-item {
        background: #fff !important;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* Image loading optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure all images are visible immediately */
img {
    opacity: 1 !important;
}

/* Remove any fade effects specifically for about page images */
.company-story-image img,
.team-photo img {
    opacity: 1 !important;
    transition: none !important;
}