/* About Page Specific Styles */

.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.about-hero-content {
    max-width: 900px;
    text-align: left;
}

.about-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.about-hero-intro {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    margin-top: 2rem;
}

.about section {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: rgba(0, 0, 0, 0.01);
    /* 10% transparency */
    padding: 2.5rem;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    /* White text */
}

.about-card p {
    color: rgba(255, 255, 255, 0.8);
    /* Light text */
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    background: rgba(0, 0, 0, 0.01);
    /* Match about-card transparency */
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    /* Optional: keeping consistent with modern look */
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    /* White text */
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    /* Light text */
    margin-bottom: 2rem;
}

.cta-content .btn {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    transition: all 0.3s ease;
}

.cta-content .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Navbar Logo Override for About Page */
/* Navbar Logo Override for About Page */
/* Navbar Logo Override for About Page - Removed to match Index Page */
.navbar .logo img {
    height: 35px;
}

/* Magnifying Glass Lens */
/* .magnifier-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: transparent;
} */

/* Optional: if we manage to clone content */
/* .magnifier-lens::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(10px);
} */

/* The content inside the lens */
.magnifier-lens .magnifier-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    white-space: nowrap;
    /* Prevent wrapping changes */
    pointer-events: none;
    color: #fff;
    /* Ensure text is visible */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Enhance readability */
}

/* Override Motto Link size for About Page */
.about-hero-content .motto-link {
    font-size: 1.2rem;
    /* Smaller than the main page's clamp value */
}

/* About Branding Text Bottom Left */
/* About Branding Text Bottom Left */
.about-branding-text {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    opacity: 0.9;
    text-decoration: none;
    /* Remove underline since it's now a link */
    transition: opacity 0.3s ease;
}

.about-branding-text:hover {
    opacity: 1;
}

.about-branding-text img {
    height: 50px;
    /* Adjust logo size */
    width: auto;
}

.about-branding-text span {
    font-size: 1.5rem;
    /* Reduced size */
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* About Message Button Bottom Right */
.about-message-button {
    position: fixed;
    bottom: 1.5rem;
    /* Match branding alignment */
    right: 1.5rem;
    z-index: 1000;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-message-button svg {
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-message-button:hover {
    transform: scale(1.15);
    opacity: 1;
}

.about-message-button:hover svg {
    filter: drop-shadow(0 3px 15px rgba(0, 0, 0, 0.7));
}

.about-message-button:active {
    transform: scale(0.95);
}

.magnifier-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow: hidden;
    background: black;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
}

.magnifier-content {
    position: absolute;
    white-space: nowrap;
    transform-origin: 0 0;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* Override Navbar Scroll Transparency for About Page */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 1024px) {

    .about-branding-text {
        display: none !important;
    }

    .about-hero-title {
        font-size: 2rem;
    }

    .about-hero-intro {
        font-size: 1rem;
    }

    .about-card h3 {
        font-size: 1.25rem;
    }

    .about-card p {
        font-size: 0.9rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}