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

html {
    background-color: #0056b3;
}

body {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #001f3f 0%, #0056b3 50%, #0074d9 100%);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Decorative background pattern */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(191, 255, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(191, 255, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 31, 63, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(191, 255, 0, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #BFFF00;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-brand:hover {
    color: #FFFFFF;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #BFFF00;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #BFFF00;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #BFFF00;
}

/* Home Page Container */
.container {
    text-align: center;
    padding: 6rem 2rem 2rem;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

/* Page Container for other pages */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: #BFFF00;
    letter-spacing: 0.5px;
}

/* Logo Container with Triangle */
.logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    animation: float 3s ease-in-out infinite;
}

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

/* Triangle Frame */
.triangle-frame {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: linear-gradient(180deg, 
        rgba(191, 255, 0, 0.3) 0%, 
        rgba(191, 255, 0, 0.15) 40%, 
        rgba(191, 255, 0, 0.05) 100%);
    filter: drop-shadow(0 10px 30px rgba(191, 255, 0, 0.6));
    z-index: 1;
}

/* Logo - Circle centered in the triangle with spacing */
.logo {
    position: absolute;
    width: 105px;
    height: 105px;
    top: 66.67%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 10px 30px rgba(191, 255, 0, 0.5));
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: #BFFF00;
    letter-spacing: 1px;
}

.description {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.social-link {
    color: #FFFFFF;
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    background: linear-gradient(135deg, #BFFF00 0%, #A0E000 100%);
    color: #003D6B;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.7rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(191, 255, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(191, 255, 0, 0.5);
}

.social-link:hover .icon-wrapper::before {
    opacity: 1;
}

.social-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.social-link:hover .social-name {
    color: #BFFF00;
}

.icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Course Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: rgba(0, 31, 63, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(191, 255, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: #BFFF00;
    box-shadow: 0 10px 30px rgba(191, 255, 0, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #BFFF00 0%, #A0E000 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #003D6B;
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.course-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.course-card p {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.course-tag {
    background: rgba(191, 255, 0, 0.15);
    color: #BFFF00;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 400;
    border: 1px solid rgba(191, 255, 0, 0.3);
}

/* Project Showcase */
.project-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-card {
    background: rgba(0, 31, 63, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(191, 255, 0, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.project-card.featured {
    border-color: #BFFF00;
    box-shadow: 0 10px 40px rgba(191, 255, 0, 0.15);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.project-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #BFFF00 0%, #A0E000 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003D6B;
    flex-shrink: 0;
}

.project-icon-large svg {
    width: 44px;
    height: 44px;
}

.project-title-section {
    flex: 1;
    min-width: 200px;
}

.project-title-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.status-badge {
    display: inline-block;
    background: rgba(191, 255, 0, 0.2);
    color: #BFFF00;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(191, 255, 0, 0.4);
}

.project-content {
    color: rgba(255, 255, 255, 0.9);
}

.project-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.project-features {
    margin-bottom: 2.5rem;
}

.project-features h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #BFFF00;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 31, 63, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(191, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(191, 255, 0, 0.3);
    transform: translateX(5px);
}

.feature-item svg {
    width: 28px;
    height: 28px;
    color: #BFFF00;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #FFFFFF;
}

.feature-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}

.project-tech {
    margin-bottom: 2.5rem;
}

.project-tech h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #BFFF00;
}

.tech-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(191, 255, 0, 0.15);
    color: #BFFF00;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(191, 255, 0, 0.3);
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.project-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
}

.project-button svg {
    width: 20px;
    height: 20px;
}

.project-button.primary {
    background: linear-gradient(135deg, #BFFF00 0%, #A0E000 100%);
    color: #003D6B;
    border-color: #BFFF00;
}

.project-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 255, 0, 0.4);
}

.project-button.secondary {
    background: transparent;
    color: #BFFF00;
    border-color: #BFFF00;
}

.project-button.secondary:hover {
    background: rgba(191, 255, 0, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .page-container {
        padding: 5rem 1rem 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .social-links {
        gap: 1.5rem;
    }
    
    .logo-container {
        width: 160px;
        height: 160px;
    }

    .triangle-frame {
        width: 160px;
        height: 160px;
    }

    .logo {
        width: 84px;
        height: 84px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-title-section h2 {
        font-size: 1.6rem;
    }

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

    .project-links {
        flex-direction: column;
    }

    .project-button {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 0.95rem;
    }
    
    .logo-container {
        width: 140px;
        height: 140px;
    }

    .triangle-frame {
        width: 140px;
        height: 140px;
    }
    
    .logo {
        width: 73px;
        height: 73px;
    }
    
    .icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .icon {
        width: 24px;
        height: 24px;
    }

    .nav-brand {
        font-size: 1.2rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .course-card {
        padding: 1.5rem;
    }

    .project-icon-large {
        width: 60px;
        height: 60px;
    }

    .project-icon-large svg {
        width: 32px;
        height: 32px;
    }
}