/* Zampa Security About Page CSS - Professional & Stylish Design */
/* Color Scheme: Black (#000000), White (#ffffff), Gold (#f0b000) */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    overflow-x: hidden;
    background: #ffffff;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* About Page Content Wrapper */
.about-page-content {
    background: #ffffff;
    position: relative;
}

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(240,176,0,0.1) 100%), 
                linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), 
                url('images/all_security_services.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(240,176,0,0.15) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    position: relative;
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.flag-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 2rem;
    font-weight: 600;
    background: rgba(240, 176, 0, 0.95);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: #000000;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(240, 176, 0, 0.3);
    border: 1px solid rgba(240, 176, 0, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.flag-badge img {
    margin-right: 0.75rem;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    line-height: 1.2;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.3px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Enhanced Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    margin: 0.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.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.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #f0b000 0%, #ffcc33 100%);
    color: #000000;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border: 2px solid rgba(240,176,0,0.8);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #f0b000 0%, #ffcc33 100%);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(240,176,0,0.4);
}
.about-hero {
    position: relative;
    z-index: 1; /* Required for layering */
}

.hero-content {
    position: relative;
    z-index: 10; /* Bring content above backgrounds or overlays */
}

.hero-cta {
    position: relative;
    z-index: 15; /* Ensure buttons are on top */
}

.about-hero video,
.about-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Prevent background from blocking clicks */
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-highlight {
    color: #f0b000;
    position: relative;
    background: linear-gradient(135deg, #f0b000 0%, #ffcc33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #f0b000 0%, #ffcc33 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-weight: 300;
    letter-spacing: 0.3px;
    max-width: 600px;
    margin: 0 auto;
}

/* Our Story Section */
.our-story {
    padding: 8rem 0;
    background: #ffffff;
    position: relative;
}

.our-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #f0b000, transparent);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.story-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240,176,0,0.1) 0%, transparent 50%);
    z-index: 1;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.6s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-text {
    padding: 2rem 0;
}

.story-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #444;
    font-weight: 400;
    text-align: justify;
}

.story-text p:first-child::first-letter {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #f0b000;
    float: left;
    line-height: 1;
    margin: 0.1rem 0.8rem 0 0;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(240,176,0,0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #f0b000 0%, #ffcc33 100%);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border-color: rgba(240,176,0,0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0b000 0%, #ffcc33 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 1.8rem;
    color: #000000;
    box-shadow: 0 10px 30px rgba(240,176,0,0.3);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Our Team Section */
.our-team {
    padding: 8rem 0;
    background: #ffffff;
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.team-member {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(240,176,0,0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(135deg, #f0b000 0%, #ffcc33 100%);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.team-member h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-member p {
    color: #666;
    font-style: italic;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

.team-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f0b000 0%, #ffcc33 100%);
    border-radius: 20px;
    color: #000000;
    box-shadow: 0 15px 40px rgba(240,176,0,0.3);
}

.team-cta p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Community Commitment Section */
.community-commitment {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.commitment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.commitment-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: #444;
    text-align: justify;
}

.community-list {
    list-style: none;
    padding: 0;
}

.community-list li {
    padding: 1rem 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    color: #444;
    transition: color 0.3s ease;
}

.community-list li:hover {
    color: #000000;
}

.community-list li i {
    color: #f0b000;
    margin-right: 1.5rem;
    font-size: 1.4rem;
    width: 20px;
    text-align: center;
}

.commitment-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.commitment-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.6s ease;
}

.commitment-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #f0b000 0%, #ffcc33 100%);
    color: #000000;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(240,176,0,0.4);
    backdrop-filter: blur(10px);
    letter-spacing: 0.3px;
}

.image-badge i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Final CTA Section */
.final-cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(240,176,0,0.1) 0%, transparent 50%);
    z-index: 1;
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
}

.cta-box p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Lazy Loading */
.lazy {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.loaded {
    opacity: 1;
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header,
.story-content,
.features-grid,
.team-grid,
.commitment-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .about-hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .story-content,
    .commitment-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .our-story,
    .why-choose-us,
    .our-team,
    .community-commitment,
    .final-cta {
        padding: 5rem 0;
    }
    
    .feature-card,
    .team-member {
        padding: 2rem 1.5rem;
    }
    
    .cta-box h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .about-hero {
        min-height: 70vh;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .flag-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .story-text p:first-child::first-letter {
        font-size: 3rem;
    }
    
    .image-badge {
        bottom: 20px;
        left: 20px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Focus States for Accessibility */
.btn:focus,
a:focus {
    outline: 3px solid #f0b000;
    outline-offset: 2px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .feature-card,
    .team-member {
        background: #f8f9fa;
        border-color: rgba(240,176,0,0.2);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .text-highlight {
        color: #f0b000;
        -webkit-text-fill-color: #f0b000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .about-hero {
        background: none;
        color: #000000;
        min-height: auto;
    }
    
    .btn {
        display: none;
    }
    
    .hero-cta {
        display: none;
    }
    
    .feature-card,
    .team-member {
        break-inside: avoid;
    }
}