* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.navbar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 15px;
}

@media (min-width: 768px) {
    .navbar .container {
        padding: 1rem 20px;
    }
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-brand {
        font-size: 1.5rem;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 3px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        max-height: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        gap: 2rem;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
        box-shadow: none;
        z-index: 999;
    }
    
    .nav-menu.active {
        max-height: calc(100vh - 60px);
        padding: 2rem 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (min-width: 768px) {
    .nav-menu {
        gap: 2rem;
    }
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #3498db;
}

.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-radius: 0;
}

@media (min-width: 768px) {
    .hero {
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .hero {
        aspect-ratio: 4/3;
        min-height: 350px;
    }
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

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


/* Hero content */
.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.tagline {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 90%;
    margin: 0 auto 1.5rem;
    padding: 0 10px;
}

@media (min-width: 768px) {
    .tagline {
        font-size: 1.25rem;
        max-width: 600px;
        margin: 0 auto 2rem;
        padding: 0;
    }
}

.hero-button {
    background: white;
    color: #764ba2;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 0.9rem;
    touch-action: manipulation;
}

@media (min-width: 768px) {
    .hero-button {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
}

.hero-button:hover {
    transform: scale(1.05);
}

/* Shooting stars */
.shooting-stars-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shooting-star {
    position: absolute;
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(164, 121, 255, 0.4) 10%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(102, 126, 234, 0.6) 90%,
        transparent 100%);
    opacity: 0;
    filter: blur(0.5px);
    animation: shootingStar 8s infinite;
    box-shadow: 0 0 10px rgba(164, 121, 255, 0.6);
}

.shooting-star::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    right: 0;
    top: -1px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    filter: blur(0.5px);
}

@keyframes shootingStar {
    0% {
        transform: translateX(-300px) translateY(0);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        transform: translateX(600px) translateY(100px);
        opacity: 0;
    }
}

/* Decorative planets */
.planet {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.5px);
    box-shadow: 
        0 0 60px rgba(102, 126, 234, 0.5),
        inset 0 0 60px rgba(118, 75, 162, 0.3);
}

.planet-pink {
    top: 48px;
    left: 64px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(164, 121, 255, 0.6) 20%,
        rgba(118, 75, 162, 0.7) 60%,
        rgba(102, 126, 234, 0.5) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: floatPlanet1 6s ease-in-out infinite, glow1 4s ease-in-out infinite;
}

.planet-pink::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(2px);
}

.planet-yellow {
    bottom: 32px;
    left: 112px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 40% 40%, 
        rgba(255, 255, 255, 0.9) 0%,
        rgba(186, 140, 255, 0.5) 25%,
        rgba(102, 126, 234, 0.6) 50%,
        rgba(118, 75, 162, 0.8) 100%);
    border: 3px solid rgba(255, 255, 255, 0.15);
    animation: floatPlanet2 8s ease-in-out infinite, glow2 5s ease-in-out infinite;
    overflow: hidden;
}

.planet-yellow::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 25%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(3px);
}

.planet-yellow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 70%);
    animation: ring 15s linear infinite;
}

.planet-blue {
    top: 96px;
    right: 64px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 35% 35%, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(102, 126, 234, 0.4) 30%,
        rgba(118, 75, 162, 0.6) 60%,
        rgba(76, 29, 149, 0.8) 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    animation: floatPlanet3 10s ease-in-out infinite, glow3 6s ease-in-out infinite, rotate 120s linear infinite;
}

.planet-blue::before {
    content: '';
    position: absolute;
    top: 18%;
    left: 22%;
    width: 35%;
    height: 35%;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, transparent 50%);
    border-radius: 50%;
    filter: blur(1px);
}

.planet-blue::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 25%;
    width: 20%;
    height: 20%;
    background: radial-gradient(circle, rgba(164, 121, 255, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
}

@keyframes glow1 {
    0%, 100% { 
        box-shadow: 
            0 0 60px rgba(102, 126, 234, 0.5),
            inset 0 0 60px rgba(118, 75, 162, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 80px rgba(164, 121, 255, 0.7),
            inset 0 0 80px rgba(118, 75, 162, 0.5);
    }
}

@keyframes glow2 {
    0%, 100% { 
        box-shadow: 
            0 0 80px rgba(118, 75, 162, 0.4),
            inset 0 0 60px rgba(102, 126, 234, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 100px rgba(164, 121, 255, 0.6),
            inset 0 0 80px rgba(102, 126, 234, 0.5);
    }
}

@keyframes glow3 {
    0%, 100% { 
        box-shadow: 
            0 0 100px rgba(102, 126, 234, 0.6),
            inset 0 0 80px rgba(118, 75, 162, 0.4);
    }
    50% { 
        box-shadow: 
            0 0 120px rgba(186, 140, 255, 0.8),
            inset 0 0 100px rgba(118, 75, 162, 0.6);
    }
}

@keyframes ring {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

@keyframes floatPlanet1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes floatPlanet2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes floatPlanet3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

/* Galaxy swirl */
.galaxy-swirl {
    position: absolute;
    top: 50%;
    right: 30%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 40% 40%, rgba(164, 121, 255, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 60% 60%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    filter: blur(1px);
    mix-blend-mode: screen;
    animation: rotate 60s linear infinite, pulse 8s ease-in-out infinite;
}

.galaxy-swirl::before {
    content: '';
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(102, 126, 234, 0.2),
        rgba(164, 121, 255, 0.3),
        transparent,
        rgba(118, 75, 162, 0.2),
        transparent
    );
    animation: rotate 40s linear infinite reverse;
}

.galaxy-swirl::after {
    content: '';
    position: absolute;
    inset: 30%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
    filter: blur(4px);
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Supernovae explosions */
.supernova {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.supernova-1 {
    top: 20%;
    right: 15%;
    width: 4px;
    height: 4px;
    animation: explode1 12s infinite;
}

.supernova-2 {
    bottom: 30%;
    left: 20%;
    width: 4px;
    height: 4px;
    animation: explode2 15s infinite;
    animation-delay: 4s;
}

.supernova-3 {
    top: 60%;
    left: 50%;
    width: 4px;
    height: 4px;
    animation: explode3 18s infinite;
    animation-delay: 8s;
}

@keyframes explode1 {
    0%, 90% {
        width: 4px;
        height: 4px;
        opacity: 0.8;
        box-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(164, 121, 255, 0.6);
    }
    95% {
        width: 150px;
        height: 150px;
        opacity: 0;
        box-shadow: 
            0 0 80px rgba(255, 255, 255, 1),
            0 0 120px rgba(164, 121, 255, 0.9),
            0 0 200px rgba(102, 126, 234, 0.7),
            inset 0 0 80px rgba(255, 255, 255, 0.5);
        background: radial-gradient(circle,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(164, 121, 255, 0.6) 30%,
            rgba(102, 126, 234, 0.4) 60%,
            transparent 100%);
    }
    100% {
        width: 4px;
        height: 4px;
        opacity: 0;
    }
}

@keyframes explode2 {
    0%, 85% {
        width: 4px;
        height: 4px;
        opacity: 0.7;
        background: white;
    }
    92% {
        width: 200px;
        height: 200px;
        opacity: 0;
        background: radial-gradient(circle,
            rgba(255, 255, 255, 1) 0%,
            rgba(186, 140, 255, 0.7) 20%,
            rgba(118, 75, 162, 0.5) 50%,
            transparent 100%);
        box-shadow: 
            0 0 100px rgba(186, 140, 255, 1),
            0 0 150px rgba(118, 75, 162, 0.8),
            0 0 250px rgba(102, 126, 234, 0.6);
    }
    100% {
        width: 4px;
        height: 4px;
        opacity: 0;
    }
}

@keyframes explode3 {
    0%, 88% {
        width: 4px;
        height: 4px;
        opacity: 0.6;
        background: rgba(255, 255, 255, 0.9);
    }
    94% {
        width: 180px;
        height: 180px;
        opacity: 0;
        background: radial-gradient(circle,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(102, 126, 234, 0.7) 25%,
            rgba(164, 121, 255, 0.5) 60%,
            transparent 100%);
        box-shadow: 
            0 0 120px rgba(255, 255, 255, 1),
            0 0 180px rgba(164, 121, 255, 0.9),
            0 0 300px rgba(102, 126, 234, 0.7),
            inset 0 0 100px rgba(186, 140, 255, 0.6);
        filter: blur(1px);
    }
    100% {
        width: 4px;
        height: 4px;
        opacity: 0;
    }
}

/* Nebula clouds */
.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    pointer-events: none;
}

.nebula-1 {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 200px;
    background: radial-gradient(ellipse,
        rgba(164, 121, 255, 0.4) 0%,
        rgba(102, 126, 234, 0.3) 40%,
        transparent 70%);
    animation: drift1 30s ease-in-out infinite;
}

.nebula-2 {
    bottom: 20%;
    right: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle,
        rgba(186, 140, 255, 0.3) 0%,
        rgba(118, 75, 162, 0.2) 50%,
        transparent 80%);
    animation: drift2 25s ease-in-out infinite;
}

@keyframes drift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.2); }
}

@keyframes drift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 30px) scale(0.9); }
}

/* Aurora borealis effect */
.aurora {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(102, 126, 234, 0.05) 20%,
        rgba(164, 121, 255, 0.08) 40%,
        rgba(186, 140, 255, 0.05) 60%,
        transparent 100%);
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.6; transform: translateY(-10px); }
}

.section {
    padding: 40px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

.alt-bg {
    background: #f8f9fa;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    text-align: center;
    color: #2c3e50;
    font-weight: 300;
}

@media (min-width: 768px) {
    .section h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 2rem;
    }
}

.section-header h2 {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 0;
    line-height: 1.2;
}

.section-icon {
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .section-icon {
        width: 60px;
        height: 60px;
    }
}

.icon-about {
    background-image: url('logo-about.png');
}

.icon-work {
    background-image: url('logo-work.png');
}

.icon-initiatives {
    background-image: url('logo-initiatives.png');
}

.icon-contact {
    background-image: url('logo-contact.png');
}

.section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.2rem;
}

.founder-card {
    background: white;
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .founder-card {
        padding: 1.8rem;
        margin-top: 1.5rem;
    }
}

.founder-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .work-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

.work-item {
    background: white;
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

@media (min-width: 768px) {
    .work-item {
        padding: 1.5rem;
    }
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.work-item h3 {
    color: #3498db;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.initiative-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .initiative-list {
        gap: 1.5rem;
    }
}

.initiative {
    padding: 1rem;
    border-left: 4px solid #667eea;
    background: white;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .initiative {
        padding: 1.3rem;
    }
}

.initiative h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

#contact {
    text-align: center;
}

.email {
    font-size: 1.2rem;
    color: #3498db;
    margin-top: 1rem;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

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