/* =========================================================
   ABOUT PAGE — FULL STYLESHEET
   Gradient theme | Smooth hover | Responsive layout
   ========================================================= */

/* ===== PAGE STYLES ===== */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #d9ecff 0%, #ffe8d6 100%);
    color: #333;
}

/* Header */
.main-header {
    position: sticky;               /* stays at the top */
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;

    background: rgba(255, 255, 255, 0.4);  /* semi-transparent for glass effect */
    backdrop-filter: blur(10px);           /* frosted glass effect */
    -webkit-backdrop-filter: blur(10px);   /* Safari support */

    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* subtle border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);         /* gentle shadow */
    
    z-index: 100; /* stays above content */
}

/* Ensure nav links are readable on glass */
.navbar a {
 color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s;
    padding: 6px 12px;
    border-radius: 6px;
}

.navbar a:hover,
.navbar a.active {
    color: #0077ff;
    background-color: rgba(0, 119, 255, 0.1);

}
.logo {
    height: 60px;
}

.navbar ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.sign-btn {
    background: #0077ff;
    padding: 6px 14px;
    border-radius: 6px;
    color: #fff !important;
}

/* ================= HAMBURGER - HIDDEN ON DESKTOP ================= */
.hamburger {
    display: none;          /* Hidden on desktop by default */
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    margin-left: auto;      /* Push to right when shown */
}

/* ================= RESPONSIVE ================= */
/* ================= MOBILE HAMBURGER MENU ================= */
@media (max-width: 700px) {
    /* Header layout - logo left, hamburger right */
    .main-header {
        flex-direction: row;
        justify-content: space-between; /* Logo left, hamburger right */
        align-items: center;
        padding: 12px 20px;
    }
    
    /* Logo stays on left */
    .logo {
        height: 50px;
        order: 1; /* First item (left) */
    }
    
    /* Hamburger button - show on mobile */
    .hamburger {
        display: block;          /* Show hamburger on mobile */
        margin-left: 0;          /* Don't push - controlled by order */
        font-size: 28px;
        cursor: pointer;
        background: none;
        border: none;
        color: #333;
        padding: 5px;
        order: 3;               /* Last item (far right) */
        z-index: 101;           /* Above everything */
    }
    
    /* Hide the regular navigation menu on mobile */
    .navbar {
        order: 2; /* This keeps nav in middle if needed, but it will be hidden */
        width: 100%;
        margin-top: 10px;
    }
    
    .navbar ul {
        display: none;          /* Hide menu initially */
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;              /* Dropdown below header */
        right: 0;               /* Align to right edge */
        left: 0;                /* Full width dropdown */
        background: rgba(255, 255, 255, 0.95); /* Solid white with slight transparency */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 15px 0;
        margin: 0 15px;         /* Add some margin on sides */
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        z-index: 100;           /* Below hamburger but above content */
    }
    
    /* Show menu when toggled */
    .navbar ul.show {
        display: flex;
    }
    
    /* Menu items styling */
    .navbar li {
        width: 100%;
        text-align: center;
    }
    
    .navbar a {
        display: block;
        padding: 14px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .navbar li:last-child a {
        border-bottom: none;
    }
    
    /* Active state for mobile menu */
    .navbar a.active {
        background: rgba(0, 119, 255, 0.1);
        color: #0077ff;
        font-weight: 600;
    }
}

/* ================= ABOUT PAGE - NEXT STEP COMMUNITY ================= */

/* About Hero/Header */
.about-header {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, #d9ecff 0%, #ffe8d6 100%);
    margin-bottom: 40px;
}

.about-title {
    font-size: 3rem;
    color: #222;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-intro {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Main content sections */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Card styling - for all sections */
.card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card h2 {
    color: #222;
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.card h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007bff 0%, #764ba2 100%);
    border-radius: 2px;
}

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

/* Image cards - side by side layout */
.image-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.image-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
}

.image-card .card-content {
    padding: 40px;
}

/* List styling */
.card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.card ul li {
    padding: 15px 0 15px 35px;
    position: relative;
    color: #555;
    line-height: 1.6;
    border-bottom: 1px solid #eee;
}

.card ul li:last-child {
    border-bottom: none;
}

.card ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 15px;
    width: 25px;
    height: 25px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.card ul li strong {
    color: #222;
    font-weight: 600;
}

/* Community Values Section */
.community-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.value-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff8f0 100%);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #007bff 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
}

.value-item h3 {
    color: #222;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Student Stories */
.student-stories {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 50px;
    margin: 60px 0;
    text-align: center;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.story-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.student-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.story-card blockquote {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin: 0;
    position: relative;
}

.story-card blockquote:before {
    content: '"';
    font-size: 60px;
    color: #007bff;
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.student-name {
    margin-top: 20px;
    color: #222;
    font-weight: 600;
}

.student-role {
    color: #666;
    font-size: 0.9rem;
}

/* Join Community CTA */
.join-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #007bff 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    margin: 60px 0;
}

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

.join-cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

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

.join-btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn {
    background: white;
    color: #007bff;
}

.primary-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.secondary-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.secondary-btn:hover {
    background: white;
    color: #007bff;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 600px) {
    /* About Header */
    .about-header {
        padding: 60px 20px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-intro {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* Cards */
    .card {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .card h2 {
        font-size: 1.5rem;
    }
    
    /* Image cards - stack on mobile */
    .image-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .image-card img {
        height: 250px;
        border-radius: 12px 12px 0 0;
    }
    
    .image-card .card-content {
        padding: 25px;
    }
    
    /* Lists */
    .card ul li {
        padding: 12px 0 12px 35px;
        font-size: 0.95rem;
    }
    
    /* Community Values */
    .community-values {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }
    
    .value-item {
        padding: 25px;
    }
    
    /* Student Stories */
    .student-stories {
        padding: 30px 20px;
        margin: 40px 0;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .story-card {
        padding: 20px;
    }
    
    /* Join CTA */
    .join-cta {
        padding: 40px 20px;
        margin: 40px 0;
    }
    
    .join-cta h2 {
        font-size: 1.8rem;
    }
    
    .join-cta p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .join-btn {
        width: 100%;
        max-width: 300px;
        margin: 5px 0;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .about-title {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .card h2 {
        font-size: 1.3rem;
    }
    
    .card p {
        font-size: 1rem;
    }
}
/* Footer */
footer {
    background: #001f4d;
   color: white;
    padding: 60px 40px 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-left img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-left p {
    color: #b3b3cc;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-middle h4, .footer-right h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #b3b3cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B00; /* Orange hover */
    padding-left: 5px;
}

.footer-contact p {
    color: #b3b3cc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.footer-social a {
    color: #b3b3cc;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.9rem;
}