/* About page specific styles */
body {
    overflow-y: auto;
}

.about-container {
    position: relative;
    min-height: 100vh;
    padding: 100px 0 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Changed from center to flex-start to allow content to start from top */
    background-color: #121212; /* Solid dark color */
}

/* Globe animation removed as requested */

.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    color: #fff;
    margin-top: 70px; /* Reduced space between header and content */
    margin-bottom: 100px; /* Increased to ensure space at bottom for scrolling */
}

.about-content h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 42px;
    font-weight: 300;
    color: #fff;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.about-content h1::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #ff0000;
}

.about-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 6px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Add a subtle animation to paragraphs for visual interest */
.about-text p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease-out forwards;
}

.about-text p:nth-child(1) {
    animation-delay: 0.2s;
}

.about-text p:nth-child(2) {
    animation-delay: 0.4s;
}

.about-text p:nth-child(3) {
    animation-delay: 0.6s;
}

.about-text p:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 992px) {
    .about-content {
        max-width: 90%;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 30px;
        margin-top: 50px;
    }
    
    .about-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .about-container {
        padding: 80px 0 60px;
    }
    
    .about-content {
        padding: 25px;
        margin-top: 30px;
    }
    
    .about-content h1 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .about-text p {
        font-size: 14px;
    }
}
