/* About Page Specific Styles */

/* Hero Section */
.about-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
    background: radial-gradient(circle, #2e0267, #1d0146);
    background-size: 300% 300%;
    animation: gradientBackground 15s ease infinite;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

@keyframes gradientBackground {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.about-hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #836fff, #6a5acd);
    border-radius: 2px;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 800px;
    margin: 30px auto 50px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px 35px;
    border-radius: 8px;
    min-width: 160px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(45deg, #fff, #836fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

/* Globe Animation */
.globe-animation {
    position: absolute;
    bottom: -200px;
    left: 0;
    width: 100%;
    height: 600px;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.globe {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(106, 90, 205, 0.4);
    background: rgba(255, 255, 255, 0.05);
    animation: rotateGlobe 60s linear infinite;
}

@keyframes rotateGlobe {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.location-marker {
    position: absolute;
    top: calc(var(--y, 50%));
    left: calc(var(--x, 50%));
    width: 12px;
    height: 12px;
    background: #836fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.3);
    animation: pulseMarker 2s infinite;
    z-index: 10;
    cursor: pointer;
}

.location-marker::after {
    content: attr(data-country);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(46, 2, 103, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 15;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.location-marker:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

@keyframes pulseMarker {
    0% { box-shadow: 0 0 0 0 rgba(106, 90, 205, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(106, 90, 205, 0); }
    100% { box-shadow: 0 0 0 0 rgba(106, 90, 205, 0); }
}

/* Our Story Section */
.our-story {
    padding: 100px 5%;
    background-color: #fff;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-underline {
    height: 4px;
    width: 80px;
    background: linear-gradient(to right, #2e0267, #6a5acd);
    margin: 0 auto;
    border-radius: 2px;
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.story-text {
    flex: 1;
    min-width: 300px;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.animated-text {
    animation: fadeInUp 0.8s ease forwards;
}

.animated-text:nth-child(1) {
    animation-delay: 0.3s;
}

.animated-text:nth-child(2) {
    animation-delay: 0.6s;
}

.story-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.8s ease;
}

.animated-image {
    animation: fadeInRight 0.8s ease forwards 0.4s;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 80%;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 0 5px 5px 0;
    font-size: 0.9rem;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Our Approach Section */
.our-approach {
    padding: 100px 5%;
    background: linear-gradient(rgba(46, 2, 103, 0.95), rgba(29, 1, 70, 0.95)), url('pattern-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}

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

.section-header.light h2 {
    color: #fff;
}

.approach-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2e0267, #6a5acd);
    border-radius: 50%;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.pillar-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #836fff, #6a5acd);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-card:hover .pillar-icon::before {
    opacity: 1;
    animation: rotateBorder 2s linear infinite;
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pillar-icon i {
    font-size: 2rem;
    color: #fff;
}

.pillar-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.pillar-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* Global Reach Section */
.global-reach {
    padding: 100px 5%;
    background-color: #f9f9f9;
}

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

.reach-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
}

.reach-text {
    flex: 1;
    min-width: 300px;
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2e0267;
    line-height: 1.6;
    margin-bottom: 25px;
    border-left: 4px solid #6a5acd;
    padding-left: 20px;
}

.reach-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.countries-grid {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.country-item {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
    color: #333;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
}

.country-item:nth-child(1) { animation-delay: 0.1s; }
.country-item:nth-child(2) { animation-delay: 0.15s; }
.country-item:nth-child(3) { animation-delay: 0.2s; }
.country-item:nth-child(4) { animation-delay: 0.25s; }
.country-item:nth-child(5) { animation-delay: 0.3s; }
.country-item:nth-child(6) { animation-delay: 0.35s; }
.country-item:nth-child(7) { animation-delay: 0.4s; }
.country-item:nth-child(8) { animation-delay: 0.45s; }
.country-item:nth-child(9) { animation-delay: 0.5s; }
.country-item:nth-child(10) { animation-delay: 0.55s; }
.country-item:nth-child(11) { animation-delay: 0.6s; }
.country-item:nth-child(12) { animation-delay: 0.65s; }
.country-item:nth-child(13) { animation-delay: 0.7s; }
.country-item:nth-child(14) { animation-delay: 0.75s; }
.country-item:nth-child(15) { animation-delay: 0.8s; }
.country-item:nth-child(16) { animation-delay: 0.85s; }
.country-item:nth-child(17) { animation-delay: 0.9s; }
.country-item:nth-child(18) { animation-delay: 0.95s; }

.country-item i {
    color: #2e0267;
    margin-right: 12px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.country-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-left-color: #6a5acd;
    color: #2e0267;
}

.country-item:hover i {
    transform: scale(1.2);
}

.more-countries {
    background: linear-gradient(135deg, #2e0267, #6a5acd);
    color: #fff;
}

.more-countries i {
    color: #fff;
}

/* CTA Section */
.about-cta {
    padding: 80px 5%;
    background: linear-gradient(to right, rgba(46, 2, 103, 0.9), rgba(106, 90, 205, 0.8)), url('cta-background.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(rgba(255, 255, 255, 0.1) 10%, transparent 10.5%);
    background-size: 20px 20px;
    transform: rotate(30deg);
    opacity: 0.4;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.primary-cta {
    background: #836fff;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.primary-cta:hover {
    background: #6a5acd;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.primary-cta i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.primary-cta:hover i {
    transform: translateX(5px);
}

.whatsapp-cta {
    background: #25D366;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-cta:hover {
    background: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-cta i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .about-hero h1 {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .stat-box {
        padding: 20px 25px;
        min-width: 140px;
    }
    
    .stat-number {
        font-size: 2.3rem;
    }
    
    .globe {
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 100px 5% 60px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        margin: 25px auto 40px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-box {
        padding: 15px 20px;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .globe {
        width: 400px;
        height: 400px;
    }
    
    .story-content, .reach-content {
        flex-direction: column;
    }
    
    .story-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .pillar-card {
        padding: 30px 20px;
    }
    
    .about-cta h2 {
        font-size: 2rem;
    }
    
    .about-cta p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .globe {
        width: 300px;
        height: 300px;
    }
    
    .location-marker {
        width: 8px;
        height: 8px;
    }
    
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .country-item {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .country-item i {
        font-size: 1rem;
        margin-right: 8px;
    }
    
    .primary-cta, .whatsapp-cta {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Add animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Observer code to trigger animations when scrolled into view */
.observer-target {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.observer-target.animate {
    opacity: 1;
    transform: translateY(0);
} 