* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 40px;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.main-content {
    padding: 40px;
}

.intro {
    text-align: center;
    margin-bottom: 50px;
}

.intro h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* درخت ساده */
.tree {
    margin: 60px 0;
}

.main-topic {
    text-align: center;
    margin-bottom: 60px;
}

.main-box {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.branches {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.branch {
    text-decoration: none;
    color: inherit;
}

.branch-box {
    background: white;
    border: 3px solid #ff6b35;
    border-radius: 10px;
    padding: 30px 15px;
    text-align: center;
    height: 200px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.branch-box:hover {
    background: #fff5f0;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.branch-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b35;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.branch-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.branch-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px;
}

.team h3 {
    color: #ff6b35;
    margin-bottom: 10px;
}

.team-names {
    font-size: 0.9rem;
    opacity: 0.9;
}

.copyright {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #555;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* موبایل */
@media (max-width: 768px) {
    .branches {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .branches {
        grid-template-columns: repeat(2, 1fr);
    }
}