/* ABOUT PAGE STYLES - REVELATION SPHERE TECH*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/*  NAVBAR STYLES*/
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 9999; /* CRITICAL: High z-index to appear above everything */
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #00a8ff;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #00a8ff;
    background: rgba(0, 168, 255, 0.1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    z-index: 10001; /* Higher than nav menu */
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 20px 0;
        z-index: 10000; /* CRITICAL: High z-index for mobile menu */
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 10px 20px;
    }
}

/* HERO SECTION*/
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
}

.fade-in {
    animation: fadeInUp 1s ease;
}

.fade-in-delay {
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*INTRO SECTION*/
.intro-section {
    padding: 80px 0;
    background: #ffffff;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.intro-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #00a8ff;
    border-radius: 2px;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/*SECTION BADGES*/
.section-badge {
    display: inline-block;
    background: rgba(0, 168, 255, 0.1);
    color: #00a8ff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* ============================================
   MISSION SECTION WITH VIDEO
   ============================================ */
.mission-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

.mission-list {
    list-style: none;
}

.mission-list li {
    display: flex;
    gap: 15px;
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mission-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.15);
}

.mission-list .icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.mission-list strong {
    color: #00a8ff;
}

/*VISION SECTIION*/
.vision-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.vision-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.vision-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.vision-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.vision-box p {
    font-size: 1.3rem;
    line-height: 1.8;
}

/*VALUES SECTION*/
.values-section {
    padding: 80px 0;
    background: #ffffff;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.2);
    border: 2px solid #00a8ff;
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.7;
}

/*LOCATION SECTION*/
.location-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.location-content > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: start;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 2rem;
}

.contact-item strong {
    display: block;
    color: #00a8ff;
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    margin: 0;
}

/* ============================================
   CTA BUTTONS
   ============================================ */
.cta-button,
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button,
.btn-primary {
    background: #00a8ff;
    color: white;
}

.cta-button:hover,
.btn-primary:hover {
    background: #0099e6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #00a8ff;
    border: 2px solid #00a8ff;
}

.btn-secondary:hover {
    background: #00a8ff;
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

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

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

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

.cta-section .btn-primary {
    background: white;
    color: #667eea;
}

.cta-section .btn-primary:hover {
    background: #f0f0f0;
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #00a8ff;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #00a8ff;
}

.footer-section p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section ul li a:hover {
    color: #00a8ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
}

.footer-bottom p {
    margin: 5px 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 968px) {
    .about-hero h1 {
        font-size: 2.3rem;
    }

    .about-hero p {
        font-size: 1.1rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

}

    

@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        min-height: 350px;
    }

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

    .intro-content h2,
    .mission-content h2,
    .vision-content h2,
    .section-header h2,
    .location-content h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button,
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 1.7rem;
    }

    .intro-content h2,
    .mission-content h2,
    .vision-content h2,
    .section-header h2,
    .location-content h2,
    .cta-content h2 {
        font-size: 1.7rem;
    }

    .mission-list li {
        flex-direction: column;
        text-align: center;
    }

    .vision-box {
        padding: 30px 20px;
    }

    .vision-box p {
        font-size: 1.1rem;
    }
}