* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: #667eea;
    border-color: white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Algorithm Cards */
.algorithm-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #4ecdc4;
}

.card span {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Preview Section */
.team-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.member-card {
    text-align: center;
}

.member-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.member-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.team-cta {
    text-align: center;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #4ecdc4;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
}

/* Project Page Styles */
.project-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.project-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.project-intro {
    position: relative;
    z-index: 2;
}

.project-intro h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.project-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Project Overview */
.project-overview {
    padding: 100px 0;
    background: white;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.overview-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.project-goals h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-goals ul {
    list-style: none;
    padding: 0;
}

.project-goals li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    color: #333;
}

.project-goals li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Process Flow */
.process-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.flow-step:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #667eea;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.flow-step:hover .step-number {
    transform: scale(1.1);
    background: linear-gradient(45deg, #4ecdc4, #667eea);
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.2rem;
}

.step-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.flow-arrow {
    text-align: center;
}

.flow-arrow i {
    font-size: 2rem;
    color: #667eea;
    transition: all 0.3s ease;
}

/* Algorithms Section */
.algorithms-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.algorithms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.algorithm-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.algorithm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.algorithm-card:hover::before {
    left: 100%;
}

.algorithm-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.algorithm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.algorithm-icon i {
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.algorithm-card:hover .algorithm-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(45deg, #667eea, #764ba2, #4ecdc4);
}

.algorithm-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.algorithm-card > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.algorithm-details {
    border-top: 1px solid #eee;
    padding-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    margin-top: 0;
}

.algorithm-card:hover .algorithm-details {
    max-height: 250px;
    opacity: 1;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.algorithm-details h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.algorithm-details ul {
    list-style: none;
    padding: 0;
}

.algorithm-details li {
    padding: 0.3rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.algorithm-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4ecdc4;
}

/* Architecture Section */
.architecture-section {
    padding: 100px 0;
    background: white;
}

.architecture-content {
    max-width: 1200px;
    margin: 0 auto;
}

.architecture-diagram {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.component {
    text-align: center;
    padding: 2.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.component:hover {
    transform: translateY(-10px) scale(1.05);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.component i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.component:hover i {
    color: white;
    transform: scale(1.2);
}

.component h4 {
    margin-bottom: 0.5rem;
    color: #333;
    transition: all 0.3s ease;
}

.component:hover h4 {
    color: white;
}

.component p {
    color: #666;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.component:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.implementation-details h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.detail-item {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.detail-item h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.detail-item p {
    color: #666;
    line-height: 1.6;
}

/* Results Section */
.results-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.results-section .section-title {
    color: white;
    margin-bottom: 3rem;
}

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.achievement-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.achievement-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #4ecdc4;
    transition: all 0.3s ease;
}

.achievement-card:hover i {
    transform: scale(1.3) rotate(10deg);
}

.achievement-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.achievement-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Responsive Design for Project Page */
@media (max-width: 768px) {
    .project-intro h1 {
        font-size: 2.5rem;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: center;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .algorithms-grid {
        grid-template-columns: 1fr;
    }
    
    .architecture-diagram {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-step {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .component {
        padding: 2rem;
    }
    
    .component i {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .architecture-diagram {
        grid-template-columns: 1fr;
    }
    
    .project-intro h1 {
        font-size: 2rem;
    }
    
    .flow-step {
        flex-direction: column;
        text-align: center;
    }
}